This content has been marked as final. Show 3 replies
Text formatting has to be applied after the text is loaded and not before.... I've modified your code to do exactly what you needed. Just make sure to change your font back to Treb...
That did the trick!
Thanks very much SymTsb.
I now have another challenge with this script:
I have the AS inside a MovieClip symbol that moves (Transform). On testing the FLA it gives no error, but the text does not preview.
It previews when I extract the MC from my FLA, and put it into an empty FLA.
In the original FLA I have a stop(); action on a bunch of frames, as well as some scripts on Button symbols to add user control. Is there a problem with having scripts sprinkled throughout frames/layers/symbols? I did previously try to consolidate the actions, and didn't have any luck, so I'd rather not, if it's not necessary.
An other insight into why the script works in isolation, but not when in the overall FLA?
Amendment to my previous message:
I have some Actionscripting applied to buttons and MovieClips, which is giving an error on testing.
Because of this, and to increase viewer compatibility, I would like to Publish my FLA to Flash version 8.0 with Actionscript 2.0, rather than Flash 9.0/AS 3.0.
SymTsb, can your script be modified to work with Flash 8/Actionscript 2.0?