A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: XML loads offline but not online

  1. #1
    Junior Member
    Join Date
    Jul 2007

    XML loads offline but not online

    First off Im kinda new to flash....

    Im working with a flash template that loads news items from an xml file. I edited the xml (just changed some text around) and tossed it up on the site Im working on. When I test the .swf offline it loads the file fine text comes up all is well but the second I upload it all to the website it only shows the original xml stuff. Help?

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    try emptying your Temporary Internet cache.

    to avoid the cached version altogether, add a timestamp to the xml call -

    myxml.load("my.xml?vers="+new Date().getTime());

    note: appended timestamp will only work when testing on your server.

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