Optimization tips

Posted by Liquidus 
Optimization tips
September 25, 2009 04:58PM
I am using the code component. I have a dynamic text field animation with both an in and out text transition. I have to call the show and hide methods using code. When i call the show the fps chokes down to 2fps for a second before the animation starts rendering. The out transition runs perfectly. I am guessing that this component is trying to initialize all of its bitmaps exactly when it is asked to animate. I was hoping there as a way to pre-initalize and cache those bitmaps.

When the hide method completes it seems to clean up after itself. Great Idea for the regular component but this should be documented in the AS3 Guide for the code component. I had to use the showTransition method instead so that it can repeat the transitions.

I guess what I am looking for is tips for getting smooth animation from repeatedly called transitions.
Re: Optimization tips
September 25, 2009 08:05PM
I learned that It runs much better if i refrain from using blur for the transition in.
Sorry, you do not have permission to post/reply in this forum.