Results 1 to 2 of 2

Thread: Using loadVariablesNum

  1. #1
    Join Date
    Apr 2007
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Using loadVariablesNum

    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 ?

  2. #2
    Join Date
    Apr 2007
    Location
    Phoenix, AZ
    Posts
    64
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default You mean style sheets?

    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).

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •