Hi,
I am doing up a photo gallery as a pet project using only actionscript. So far I have been successful in achieving the objectives that I want. However, moving forward, I intend to make the flash photo gallery easy to customise and want to add in a XML config file for flashh to reference.
Here is where I am facing some problems. I managed to get Flash to read the XML data w/o a problem. The catch is how can I know when the XML file is loaded before I render the other movie objects (which require the settings in the config file)?
eg.
file_xml = new XML();
//Load XML file
XML.prototype.ignoreWhite = true;
//Parse the XML data
file_xml.onLoad = ParseXML;
file_xml.load(“config.xml”);
//Actions requiring info from config file here
Is there a way for Flash to listen to when I can start using the config values?
Hope my query is not too complicated.