A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: xml loader

  1. #1
    Senior Member green_eye's Avatar
    Join Date
    Apr 2004
    Location
    Sarasota, Florida
    Posts
    1,496

    xml loader

    What I have is a flash header that pulls in xml data. When you view the site the flash file displays and works correctly but when a call is made to the xml file I receive an undefined error. When the file is reloaded on the server the xml works correct.I have a preloader for the entire swf. I just don't know why the page has to be requested 2x for the xml call to work correctly. Is the preloader just for the swf file or also for the xml file that is being called in. If I add a preloader for the xml file where do I place the code? I have code that pulls the data in the first frame and is not need until a button click calls it on the second frame. Plus the xml file is relatively small... So I am puzzled.
    Last edited by green_eye; 12-02-2011 at 07:55 PM.

  2. #2
    Senior Member green_eye's Avatar
    Join Date
    Apr 2004
    Location
    Sarasota, Florida
    Posts
    1,496
    thank you for your help...

    A question about the XML pull, I do update the file each day. Meaning that the upcoming dates are not up to date before the day before the actual date. Does the browser cache the whole XML content? I have noticed that it does cache each viewed day.

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