A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Loading an external .txt file

  1. #1
    Junior Member
    Join Date
    Dec 2000
    Posts
    14

    Loading an external .txt file

    Hi All,
    I need help!!!
    I have an external text file that loads as dynamic text in a movie. That works fine. The problem is, when I get that movie to load into another movie, the text isnt there.
    How do I get the text to load in the external swf file?
    Any help would be greatly appreciated!!!
    Thanks

  2. #2
    Senior Member sofiebel's Avatar
    Join Date
    Feb 2001
    Posts
    1,044
    That would be a targetting problem. When you work in the movie that loads the txt, then that is your root file. But when you load that movie into another one (into level1 or a target movieclip), it is no longer your root file, the other one is. Can't give you any more specific help 'cause I don't know how you coded exactly.

  3. #3
    Senior Member the_one_18's Avatar
    Join Date
    Mar 2002
    Posts
    217
    u use this to load the txt file in the movie you load
    loadvariables(x.txt,varname)
    use this instead in the root movie
    i mean level 0
    loadvariable(x.txt,level2.varname)
    level2 is the level u load the external movie on.
    MeHdI

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