XML/Flash question
- Started
- Last post
- 2 Responses
- thirtytwo
I am currently designing a site in flash, it has about 20 or so sections, all sections are separate swf's that are loaded. Now I want to the site in XML. I have done graphs and charts in XML with flash, but never a whole site.
So my question to everyone is. Would it be best to load the XML file in the main movie clip and then pass the values to the external swfs, or load it each time with the external swfs, and pass variables to denote the section it needs to load from the XML.
Is it possible to load an XML file and then pass the variables to the external swfs?
I need some advice here...
cheers
- unfittoprint0
yep. hold the variables in some array or separate variables, call them accordingly and pass them to the respective movie.
you might want to include the url/location/name of the movie in the XML. that will make things easier.
- thirtytwo0
cheers unfittoprint.
I was losing the var in the main swf. So I just took it a step down. Thanks man you saved me a huge headache...