View Full Version : Using loadVariablesNum
04-16-2007, 05:12 PM
I have been useing loadVariablesNum to load text form a text file in to my flash files for easy editting of the text.
Is there a way to change the colors and font size for a text file like i did the text ?
04-17-2007, 05:09 PM
I'm not sure if this is what you're asking, but Flash allows you to import style sheets (CSS) to control the appearance of your text from an external file. Flash only supports a few items, like size, font, and color, but it works pretty well. Look at the two entries in the Flash Actionscript reference under textfield.stylesheet. One entry has a capital - "Textfield.stylesheet," and another lowercase - "textfield.stylesheet" (this one is the most helpful).
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.