Load Movie/Txt File Complications
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Load Movie/Txt File Complications

  1. #1
    Pixel Ninja
    Join Date
    Feb 2000
    Location
    Edmonton, Alberta, Canada
    Posts
    62

    Load Movie/Txt File Complications

    I'm a little confused over here and for the life of me I can't figure this one out. Here's the situation...

    I've create a swf that reads info from a txt file and this movie works great on it's own. No problem here.

    I have a main swf that loads individual swf's into it depending on the users clicks. No problem here either.

    In this main movie when the first swf is called upon, it loads properly, however it doesn't read the txt file. This is the problem.

    All the appropriate files are in the same folder and the text box is a different colour than the text itself. I can't figure it out. Again, the swf reads the text perfectly on it's own. But once the main movie loads it, it runs, but doesn't read the txt file.

    Any suggestions out there for me?


    Thanks,
    *bluehaus



  2. #2
    Beyond the Sea
    Join Date
    Mar 2000
    Posts
    997

    resolved

    I believe the problem lies with the target of the action. What target do you have for the movieclip that loads the txt file? If it has a / in front of it, it's trying to find that movie clip in the main timeline, not in the loaded movie clip.

    Try relative addressing. Instead of something like this: /movieclip
    Try this:
    movieclip
    or something like this:
    ../movieclip
    (this one is usefull if the target movieclip is one timeline above the movie clip that is calling it)

    hope this helps,
    Rich
    http://www.richpaul.com

  3. #3
    Pixel Ninja
    Join Date
    Feb 2000
    Location
    Edmonton, Alberta, Canada
    Posts
    62
    Ok, I tried that and still nothing. This is so frustrating. Do you have any other ideas for me?
    Thanks for your time by the way,

    *bluehaus

  4. #4
    Beyond the Sea
    Join Date
    Mar 2000
    Posts
    997

    resolved

    hmm...if it's not the targetting...I'm not sure...

    go ahead and send me the FLA, if you want and I'll take a look. I'm off of work tomorrow (WOOHOO!) and could probably play with it a bit.

    Rich
    rich@richpaul.com

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

Poll by Flashkit.com