FORUMS: list search recent posts

XML preloader

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
XML preloader
on Dec 2, 2006 at 9:33:29 am

var x:XML = new XML();
x.ignoreWhite = true;

var urls:Array = new Array();
Hi there.

Can anyone help me with how to preload the following xml data.
I am using big JPEGS with the xml, and they take a while to load.

I just want to add a nice visual movieclip while each one loads.......

script is below..

thanks in advance

var captions:Array = new Array();
var whoIsOn:Number;

x.onLoad = function() {
var photos:Array = this.firstChild.childNodes;
for (i=0;i urls.push(photos[i].attributes.url);
caption.text = captions[0];
whoIsOn = 0;


Return to posts index

Re: XML preloader
on Dec 4, 2006 at 4:51:21 am

Your XML is missing from your post. You may need to use < code > tags.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved