in Hacking

Flash Actionscript Smooth Horizontal Text Scrolling

Well sounds simple. But it caused me a severe headache.

I created a movieclip with a text field, that needed to scroll horizontally from left to right.
The text must be readable because you must type this word before it reaches the end...

The movieclip graphics moved very smoothly, only the textfield wasn't.

To solve the problem I needed to perform the following operations:

  • Set the anti-alias method for this textfield to "Optimize for Animation"
  • Well that was not enough, after a lot of trying, I found out I also needed to Embed the font of the textfield, for a completely smooth animation..

    Very frustrating...
    And I don't like the solution because my swf file is bigger... But it will do for now..

    • Related Content by Tag