Thursday, May 24, 2007

XML Preloader

Hey Guys,

Now you can show a preloader animation even while loading any data from a XML file. The code for the preloader is like any other preloader in Flash except there is a change while extracting the loaded and total bytes -

loadedBytes=myXML.getBytesLoaded();
totalBytes=myXML.getBytesTotal();


myXML here refers to your XML object created to load the XML file.

Please feel free contact me at atul.narang@designworxz.com in case of any query.

Cheers :)