Friday, April 27, 2007

Loading Image Dynamically

I don't recommend to use LoadMovie for loading images dynamically because you can not actually trace the progress & perform the next action depending upon the progress.

I will suggest using MovieClipLoader class and its function loadClip using which you can actually trace the progress & if required can play preloader animation & then hide it when the loading of image is completed.

Please feel free to post your query if you have any.

Thursday, April 26, 2007

Parsing XML in Flash

XML2Object is an extension for Macromedia Flash & just to let those people know who are creating dynamic website or applications by integrating & reading data from XML that it makes your life very easy by creating an object of complete XML.

After creating an object of XML2Object you can extract data by using the following format -

It is very easy & faster to use rather than parsing through each node of XML file & then extracting the data.