A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Editing stuff from txt file.

  1. #1
    Member
    Join Date
    Jan 2005
    Posts
    32

    Editing stuff from txt file.

    There used to be a tutorial for this awhile back, but I can't find it anymore.

    Anyone know how to make it where I can edit a txt file on the host and change it on the flash movie?

    Here's the file: http://clanexn.com/test.swf
    (Er, forgot that it's just swf file so the dimensions are all messed up.. you still get the idea)

    What I want to do is this:

    There are eight boxes. When you go over any one, different content will appear in the middle. I want to be able to change the content of all eight boxes from an external txt file. Also, on each box there is a name; "Spelly", "Champ", "Xzibit", ect (these are all text). I want to be able to change these as well. The images themselves can stay as they are.

    Plus, I am going to have other links (scenes) and I want to be able to change the content on those pages as well with txt file(s).

    It'd be perfect if I could just have it all editable through one txt file, but multiple is fine.

    Any help is appreciated, thank you.

  2. #2
    Actionscript Developer KigD's Avatar
    Join Date
    Jan 2003
    Location
    georgia
    Posts
    597
    I'm not gonna just tell you the answer but look up:
    Code:
    loadVariableNum
    And flash read variables from a page by looking at its output, which must be in the format:
    &var1=value&var2=value&

    Remember no spaces between the equals and the value!!!

    Good luck,
    Danny
    K2xL - My games, tutorials, message boards, and experiments.
    Blog

  3. #3
    Member
    Join Date
    Jan 2005
    Posts
    32
    I looked around and found what you were talking about, but I still don't understand it.

    I found these two posts, but I don't even know where to start.

    http://flashkit.com/board/showthread...oadVariableNum
    http://flashkit.com/board/showthread...oadVariableNum

  4. #4
    _One of a Kind_ j.manfogle's Avatar
    Join Date
    Aug 2005
    Location
    Philippines/usa
    Posts
    198
    but I don't even know where to start.
    maybe by reading there's tons of stuff there!!! just need to read the threads and experiment!
    Fogle

  5. #5
    Member
    Join Date
    Jan 2005
    Posts
    32
    I did read, Manfogle. That's the reason I came back here. It says put dynamic text and I somewhat understand that, but where do I put all the actions and so on?

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