A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Changes at Runtime?

  1. #1
    Senior Member
    Join Date
    Feb 2004
    Location
    Halifax, MA
    Posts
    205

    Changes at Runtime?

    Is it possible for a movie to read an external text file and alter its own appearance based on what is there?

    For example, I have a button with some text on it. If a file had different text, could the movie read that file and put the new text on the button?

    Briefly, the user could alter the look and feel of the movie by changing some variables in a text file kept in the same folder. Maybe change colors, etc.

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Yes very much so. Do some searches of the forum for LoadVars. Also look at the API docs for all the components, much of their apperence can be changed. So using LoadVars you load the info and make the changes.

    Also my Dynamic gallery at the The Koolexchange uses a text file to change the Title, Colors and more of the gallery all from a loaded text file. (I might have used PHP I don't remember, same idea though)

  3. #3
    Senior Member
    Join Date
    Feb 2004
    Location
    Halifax, MA
    Posts
    205
    Thanks, Bret. KM just gets better and better.....

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center