I'm tweening a mc that contains a dynamic text box (font embedded) by
using the Tween class to resize and reposition it.  Unfortunately, each
step in the tween reflows the text slightly, as if it's being kerned
randomly each step of the way.  I've tried using cacheAsBitmap=true on
the mc and on the text box within it, but that hasn't helped.  Does
anyone have any tips on how to prevent this slight text reflow from
happening?

You probably have "Anti-alias for readability" turned on on the textfield. Which is great but make glyph hinting and kerning work in a less than optimal way when moving. If that's the case, set it to "Anti-alias for animation" which is less sharp (?) but a much smoother way of calculating glyph position.

If that doesn't work, you have to tween the position of the textfield by rounded values only, either by doing that when updating its properties, or by capturing a copy of it as bitmapdata prior to moving (adding a dummy filter to it might work just fine for this).

Zeh
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to