dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: loading external text files offline/online

  1. #1
    eLearning Dev Monkey
    Join Date
    Oct 2002
    Location
    Manchester, UK
    Posts
    28

    loading external text files offline/online

    hi

    i am trying to load variables from a text file. it works offline, but when i upload it and try to view it online, the variables don't load.

    any ideas?

    vince

  2. #2
    Senile member! :)
    Join Date
    Dec 2001
    Location
    Saunaswamp (transl)
    Posts
    2,296
    Make sure that you wait for the variables to load propperly. Offline it might work because the variables load instantainiusly, or at least they seem to do.

    /Mirandir

  3. #3
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    If you dont have all files in the same folder you can use absolute urls to the textfile.
    When using relative urls you have to be aware that links in Flash are relative to the html document and not the flash file.

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  4. #4
    eLearning Dev Monkey
    Join Date
    Oct 2002
    Location
    Manchester, UK
    Posts
    28
    sorry,

    was a simple error, was putting tracking in and messed up the structure.

    cheers!
    www.MultimediaMarketing.Com
    Global Learning - Better Marketing

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