problem loading xml into flash
- Started
- Last post
- 7 Responses
- warwicka
all the files are in the same folder (xml, html,swf)
why would it work within flash when i test it, but not when i view it through the browser?
- spmitch0
path issue
- warwicka0
that's what I thought but they are all in same folder
- spmitch0
your xml has to point to you html not your swf//// or other way around
6:12 in denver still buzzed////// old Vandals rock
- tommyo0
are you sure it's not loading the xml? Might be that in your local tests you were firing off something before the xml finished loading? Locally the load is instant, on a live server it's not. Just a stab in the dark.
- amullins0
use firebug. it will show you the xml file request in the net panel and you can adjust the path if you're getting a 404.
- gabadilla0
Could be a permissions issue.
- fyoucher10
You may be calling for the XML data before it is loaded. Try using XML onLoad, and when it's loaded then call your next function.
You may be loading the XML file but then immediately calling a function to do stuff with the data but the data hasn't been read in yet.
It's working locally because it's just that, local. No downloading involved.
Online you gotta download it first, even though it may only be light on file size.