Hello!
First of all: Thank you for your great work!
I`m trying to move a dynamic TextField from the bottom of the screen to the top and it works. It runs nice and smoothly on my PC. The problem starts when I run the .swf on a target, which is not as powerful as my developement PC. The text animation becomes quite choppy.
I tried several things (cache text as bitmap via BitmapData, using TweenLite and now using BlitMask) to improove the performance and I could manage to get 11-12 FPS on the target hardware. That`s "ok".. but it would be nice to squeeze out some more FPS.
Globally I define a Blitmask:
var txtMask:BlitMask = null;
I initialize it:
txtMask = new BlitMask(txtMessage, 0, 680, movieWidth, textAreaHeight,true);
...and start the animation:
txtMessage.text = msg;
txtMessage.y = movieHeight;
txtMessage.height = txtMessage.textHeight + 4;
txtMask.update(null, true);
TweenLite.to(txtMessage, Number((txtMessage.height + textAreaHeight) / textScrollSpeed), {y:(movieHeight - textAreaHeight - txtMessage.height),onComplete:onTextScrollFinish, ease:Linear.easeNone,onUpdate:txtMask.update,useFrames:false,immediateRender:true});
I also tried to tween the scrollY attribute of the BlitMask, but this didn't change anything (as expected).
So I guess I just wanted to ask if someone has an idea how I could further inprove the performance of the TextField animation. Would it help to try the ThrowProps plugin?
Thank you for your time