Actionscript 3 :: Adobe AIR Scrolling Performance On IPad2?

Apr 15, 2012

I'm currently working on an Adobe AIR application which is targeting the iPad2 as the hardware platform, and can not get decent scrolling performance on one of the screens. I'm using a spark list, with a custom item renderer like so:

<s:List id="productList" top="116" bottom="0" left="10" right="10"
width="100%"
visible="true" includeInLayout="true"
height="0"

[code]....

As you can see this is pretty light-weight, yet my dataprovider contains upwards of 100 items, and 11 of them can be on screen at any one time. Everything I've read around increasing performance for scrolling revolves around using opaqueBackground and cacheAsBitmap, however no matter what I try neither help here. Using cacheAsBitmap at the list level doesn't help as the item renderer recycling kicks in once you've scrolled more than a couple of lines requiring the whole thing to be re-rendered, and using it at the item renderer level is still horribly slow when scrolling fast — presumably because many are being recycled at once during a very fast scroll.

I know the iPad should have no problem blitting a screenful of information in a frame at 60 fps, yet when I scroll quickly I'm seeing it struggle to make 10 fps (from sight). So the question: have I missed something obvious, or is this to be expected due to the number of layers (and vector rendering) involved when using AIR? For the record, I have tried changing the render mode for the application and tried changing the frame rate to eliminate the obvious.

View 1 Replies


Similar Posts:


Flex :: Increse Performance Of Raster Scrolling On Mac?

Feb 25, 2010

I have a game with a big raster map.Now we are using jpeg (4900x4200)And durring the game we need to scroll through this map.[code]In windows, we have very good performance.In Linux and Mac in flashplayer we have a good performance too.But in browsers performance is quite slow!

View 2 Replies

ActionScript 3.0 :: Performance - Masking And Scrolling Multiple Images?

Oct 27, 2011

Basically I'm building an image gallery. Rather than thumbnails, it just loads the full size images and masks them, so they can all be scrolled through. (I made an intuative preloader for this). It all works fine. The only problem I see there being is performance, when there's quite a few images.Could anyone suggest a way to reduce the load, and make it a bit more memory friendly? I (stupidly) thought that masked out images wouldn't render. I think I'm wrong though? I thought maybe I could make the images off the screen set to 'visible = false'?

View 4 Replies

Best (performance) Way To Animate 55 Png Images In Adobe Flash?

Jan 14, 2010

We are using Adobe Flash to produce software for an interactive touch screen kiosk.I have 55 1024x768 24 bit PNG images.I want to play them (fairly regularly...once every 5 minutes or so) without them stuttering but can't find a good dependable way, main problem is I think Flash GC's them after an arbitrary idle period.Reason I'm doing this is because the FLV attempts we have made aren't sufficiently high quality.I also looked at using a H.264 but that obscures any other assets placed over it.I have a number of text fields sitting over this animation. The machine in question is a Core2 Duo, 4GB Ram, GeForce 9500GT.

View 1 Replies

Actionscript 3 :: High Performance Encryption In Adobe Air / Flash

Dec 1, 2009

When looking for encryption related classes/functions in action script / air / flash, I saw the as3crypto project. This one provides a v. nice set of options, but I am a bit concerned on what the numbers presented means when these are used to decrypt a local media file when its selected about to be played. I am looking for security vs. performance balance.

For video/music, it needs to decode at a fast enough pace so the player plays it smoothly - which is something that depends on the format used, but is in all cases less than the delay of having to wait to decode the whole file.

[Code]...

View 4 Replies

ActionScript 3.0 :: Resolution For An AIR Game On IPad2?

Nov 9, 2011

We have alredy made a game at 1024x768 (iPhone2 max resolution) and it runs ok, maybe with a little hiccup here and there. But we really want to make a more complex game next time, and performance is a big concern.What resolution (in pixels) should we use for an iPad/iPhone game? does it have an actual impact on overall performance?

View 1 Replies

Flash 10 :: Wrap Video Mov(h264) Inside The Final App For Android/iPad2?

May 22, 2011

I�m building an iPad 2 app with Flash with ActionScript 3 (Adobe CS5.5), what I want to do is to wrap my two sections of the video (h264) inside the final app? I do not want to stream the video or load it external, "I need it to be included in the app locally" (inside the final package)!I need it to be in one application, to upload to the iTunes Store/Google market�

PS like to do the same with Android, the package (apk) no stream video.

View 0 Replies

Actionscript 3 :: Use Adobe's "Stage3D" To Improve The Performance Of My 2D Applications And Games?

Jan 18, 2012

I've been doing a little bit of reading about Stage3D, which will be a new API used with Flash Player 11.Will this API improve the performance of 2D rendering (Vector) in any way, or will the library be used primarily for rendering 3D?

View 3 Replies

Flex :: Adobe - Redraw When Manually Scrolling?

May 11, 2010

I have two columns: the left one is a Canvas containing an mx:Tree and the right one is a Canvas containing a Canvas (to allow for scrolling) of some custom Sprites that go along with the tree nodes on the left. I made the right Canvas scrollable (horizontal and vertical) and I want the vertical scroll to also scroll the left Canvas so that the tree nodes line up with their representations on the right. The scrolling portion works fine and when I embed with wmode="window" there are no problems. Unfortunately, the customer requires dynamic HTML to overlap the Flash at times and when using wmode="opaque" or "transparent", there are issues. The scrolling still works, per se, but Flash does not seem to redraw either Canvas appropriately. The Canvases become out of sync and artifacts often remain on the right side.I catch a scroll event on the right column and update the scroll position on the left column like so:

public function onTimelineScroll(scrollEvent:ScrollEvent):void {
leftColumn.verticalScrollPosition = rightColumn.verticalScrollPosition;
}

[code].....

View 1 Replies

Actionscript 3 :: Adobe Air Mobile - SoftKeyboardType Is Not Working When Using SkinClass To Allow Scrolling?

Mar 27, 2012

I am trying to set the softKeyboardType to email but when ever i use skinClass="spark.skins.mobile.TextAreaSkin" it doesn't change it but when i take off skinClass="spark.skins.mobile.TextAreaSkin" it does work. The problem is i need the skinClass="spark.skins.mobile.TextAreaSkin" class to allow my application so scroll with out it the text does not stay with in the bounds of the text input boxes. Has anyone seen this problem or another fix the the scrolling problem?

[Code]...

View 2 Replies

Performance :: Performance - Hold MouseDown To Increase Speed/power?

Sep 12, 2011

this is what i'm trying to accomplish; With a click on a movieclip (cannon_mc)a shot is being fired (ball_mc)

The longer mouse is down, the speed of wich the ball is fired with should increase.My question to you is;

What is the most efficient way to accomplish this? With a timer or something like this;

[Code]...

View 2 Replies

Performance :: Optimization - Improving Performance With Large #'s Of Objects

Jan 11, 2011

I'm devloping some library classes for flocking/steering behaviours on large numbers of objects (2000+). I'm finding that at < 500 instances, performance is reasonable. As the numbers increase, framerate bogs down.

I've seen remarkable performance with libraries such as Flint or Box2D with ridiculous #'s of particles / objects, so it should be possible to optimize / refactor my code to be a bit better.

I'm aware of the basic optimizations, such as bitwise operations and optimized for loops. Are there any more fundamental approaches I should be considering? For example, currently each instance is a vector-based MovieClip. Would working with BitmapData be more efficient?

View 1 Replies

Performance :: Flex - Using Nested ViewStacks Cause Performance To Decrease?

Nov 4, 2011

Will I take a big hit in performance using nested ViewStacks? Should I strive to handle all navigation in one ViewStack and push children manually or will the affected performance be negligible?

eg.
<viewstack>
<tabnavigator />
<tabnavigator />
<tabnavigator />
</viewstack>

View 2 Replies

Performance :: Improve Flex Performance For Invisible Views?

Mar 19, 2012

We have a medium size Flex 3.6 application that contains around 20 different page views (managed via a single lazy ViewStack) each having multiple components. Most use custom renderers.All model data is loaded at startup and changes to model instances are communicated via binding and/or collection change events.Once the user has viewed each page at least once, all page views are instantiated and happily listen to update events.Which in effect means that each time a model instance changes, all interested views receive that event and compute derived data or trigger item-renderers.I have tested and confirmed this behaviour in a proof-of-concept application. Even when setting a list to being invisible, it still listens to collection change events and invalidates any renderer affected.What would you do?

View 1 Replies

Flex :: Scrolling Interval In A Spark List With Tilelayout Oversized While Using Mouse Wheel After Scrolling With Mouseclick

Aug 27, 2010

I have a spark List with an item renderer and a tile layout. If I scroll by clicking with the mouse on the scroll bar and trying to scroll with the mouse wheel after that, there is a problem: The interval of the scrolling is oversized, instead of scrolling one item down (or up) the List scrolls 4 items down (or up).

[Code]...

View 1 Replies

Flex :: Event When The Scroller Starts Scrolling Or Ending Scrolling In 4.0?

Feb 10, 2011

are there any events that the scroller will dispatch when being scrolled?

View 1 Replies

ActionScript 2.0 :: Scrolling Mc Not Stop When The Movie Clip It's Scrolling Ends

Jan 11, 2010

Im making a scrollable mc. Easiest thing in the world.... but the damn scoller just will not stop when the movie clip it's scrolling ends. It stops....eventully... but not close enough. What actionscript do I need to use and where do I put it?

View 1 Replies

ActionScript 1/2 :: Vertical Scrolling Menu / Seamless Scrolling?

Nov 13, 2009

I have created a vertical menu that scrolls through menu items in a movie clip.There is a big white gap when the movie clip runs out, and it snaps back to the beginning.I would like it to scroll seamlessly, having the end join up with the beginning again without any space.I would like it to scroll to one end of the list and STOP, and scroll back the other way and STOP - without any white space.URL...

View 1 Replies

ActionScript 3.0 :: Textfield With Easing On Scrolling And Mousewheel Scrolling?

Mar 26, 2012

How do I do a easing effect on scrolling and mousewheel scrolling in a Textfield?

Something like this [URL]

View 1 Replies

ActionScript 3.0 :: Scrolling Flash Pane On Scrolling WebPage?

Jul 1, 2008

This is a repost, but I've still not figured out a solution. I have a Flash movie that appears on a webpage. The Flash contains scrolling content ( scrollpane, text field, whatever).

The containing webpage is tall, and therefore also has scrollbars. My Problem: When users try to use the MouseWheel to scroll through my Flash scrolling data, the browser page scrolls as well. It's very annoying.

I would like to be able to have the MouseWheel scroll my Flash scrolling content when it's over the flash, but scroll the webpage when it's not over the Flash.

Does anybody know a way to supress wheel-based browser page-scrolling while my mouse is over a Flash movie??? Is there a way to eat/stop propagation, whatever, of the wheel event in the brwoser, either from Flash or from Javascript?

View 7 Replies

ActionScript 2.0 :: Scrolling Thumbnails - Not Scrolling - Involves Xml

May 4, 2007

I have been working on a site that will display a portfolio for a friend of mine who is a photographer. I want to have thumbnails that can be scrolled on the bottom of the page, and an area where the thumbnail is presented when selected. I have the thumbnails appearing. I have them loading, however, I can't get them to scroll when the mouse moves to the left or right of the row of images. he file can be viewed at...[URL] Here is the code I used for the slideshow:

[Code]...

View 4 Replies

ActionScript 3.0 :: Adobe.utils.Extension Not Found In Adobe Flash Professional CS5

Dec 23, 2010

In my machine I have installed only  Adobe Flash CS5 proffesional trial version. Now this installation is not supporting adobe.utils.Extension class in this version. I have tried with all latest updates from adobe site. My doubt is does adobe.utils.Extension class is available in licensed version of Adobe Flash CS5 proffesional?

View 12 Replies

Actionscript 3 :: Network Game By Adobe Air Programming In Adobe Flash

Dec 28, 2011

I want to create a simple game (Adobe Air) based on 2 players using ActionScript 3.Let's assume I want to create online chess game.So that I can play with my friend at work, at home, from anywhere via internet.Should I use flash server? Or something similar for this purpose, or there is simpler way to connect 2 players and make fully functional interaction between them?

View 2 Replies

ActionScript 3.0 :: Programmatically Detecting Between Adobe Air And Adobe Flex?

Feb 12, 2010

I have some shared code between an Adobe AIR App and an Adobe Flex App.

On one line of this code, the program must behave differently depending on if it is running within the Air runtime, or the Flex runtime.

How can I programmatically detect the difference?

View 1 Replies

Flash :: Adobe 10 GPU And Adobe AIR For Android

Jan 27, 2011

How can i make the Augmented Reality applcation on Android mobile phone (HTC Nexus One) that i have developed using the flash platform faster, since flash doesnt support OpenGL for 3D graphics. Can I make it faster using GPU Acceleration? Or there is any way to combine Flash and OpenGL? Any online sources talking about this subject will be very useful..

View 1 Replies

Flex :: Dynamically Create Axis Via ActionScript In Adobe Flex Charting Library; Adobe Bug?

Mar 21, 2011

Multiple axis creation via MXML works fine:
http:[url]...

But when I'm trying dynamically create horizontal and vertical axis then I'm getting extra axes. I believe this is Adobe bug. How I can fix this behavior?

<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"[code].....

View 2 Replies

Tune Performance Of FMS?

Mar 28, 2011

It's OK on develop machine,
 
but when put on product machine,it's extremely slow...
 
The real time publishing often turns out a static image hanging there.

View 1 Replies

ActionScript 3.0 :: Swf Performance In A .pdf

Apr 29, 2010

Does anyone know of some tips when embedding an .swf into a .pdf? I've been working on this for a couple of days, and the .pdf has some significant issues playing my swf when the swf plays well from the IDE and the browser.

View 1 Replies

Maintain High Performance With CS4?

Jan 4, 2010

I'm running Flash CS4 on a laptop and find it gets sluggish. I find when I restart my computer, I can work at a good speed for a while, but eventually it becomes very laggy - why is this?

Can I dump the cache files or something to simulate the restart? I've reduced the undo history to 10 - any other tips for CS4 on a mediocre machine?

View 1 Replies

ActionScript 3.0 :: Performance - Should I Use Timeline At All?

Apr 17, 2010

When I have an animation, 180 frames long which contains just some small animations and its running at 120 fps no problems. Now I add a keyframe on frame 90 where a large static image pops in. A 1280x800 background image for example, completely static. Then I try to run it at 120 fps and I get a small freeze(0.25s-0.5s) on frame 90. When I add this large image at frame 1 and set visibility to false and on frame 90 I set visibility to true, I have no problems. So the problem should be in instancing the large background object. What can I do about it? Is it possible to get rid of this problem and still keep using the timeline for animations to not hardcode everything because of this?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved