;

PDA

Click to See Complete Forum and Search --> : uiloader with transition


kagamushu
09-17-2009, 04:36 PM
Hello,
i need to make several banners for individual pages of a web site. The banners will each contain different images that i want to have fade in the same way. Also, over the images will be the title of the page. I would like to load the images and text by xml. I was using the uiloader (loading images from a url) but could not figure out how use the xml file as source.
Also, for the animation, is there anyway to apply a transition to the uiloader? Is the uiloader even the best way to load xml?
Essentially i need to have 1 animation that can be applied to different images that are loaded by xml.
Any help would be greatly appreciated,
thanks

5TonsOfFlax
09-17-2009, 06:09 PM
UILoader is just a component wrapper around Loader. You shouldn't need it if you are doing this in just code.

You should use URLLoader to load your xml, parse that for the image url(s), and then use Loaders to load each image. You can use any sort of tweening to apply a transition to your loaders or their content.