flash data integration:
Hi Please check you the URL, the file is not there in the path it seems, or else check the 'slash' ie. / or \. if you are loading the XML at the first frame of the fla , then it wont load, flash needs some time to load the xml, so try to access the nodes at 3rd frame of after that. try that, if it not works please replay back. anand
I have a project where I need to load an images into a movie clips based on urls in that is in an XML file. [code] // xml object for xml content (defines sources for selections) var featured_xml = new XML(); featured_xml.ignoreWhite = true; featured_xml.onLoad = function(success){ if (success) trace(this); else trace("Error loading XML file"); // no success? trace error (wont be seen on web) } // load featured_xml.load("xml/fMovies.xml"); var featuredMovie = featured_xml.firstChild.childNodes; featured_mc.loadMovie(featuredMovie[0]) [/code] I keep getting this error "Error opening URL "file:///C|/Documents%20and%20Settings/Robert%20McFadden/Desktop/afc/undefined" saying my var is not defined how do i define this var?
Don't see what you're looking for? Try a search.
|