all groups > flash data integration > september 2006 >
You're in the

flash data integration

group:

Re: Static vs. Dynamic XML



Re: Static vs. Dynamic XML MaveK
9/30/2006 2:00:09 PM
flash data integration: [quoted text, click to view]

I thought that I was telling the AS not to proceede untill the data was
loaded with the onLoad statement. Does this code work or do I need somthing
else?

OrgsXML.onLoad = function(success:Boolean) {
if (success) {
_global.x = States();
} else {
trace("Load Status: error");
}



Re: Static vs. Dynamic XML dan mode
10/3/2006 12:14:45 AM
Well yes, that says if it loads the xml successfully then run States().
But, it doesn't say not to proceed until the xml it fully loaded and parsed.
You need to add something to the States() that says once the parsing is done
then proceed.


--

Dan Mode
->Adobe Community Expert
*Flash Helps* http://www.smithmediafusion.com/blog/?cat=11
*THE online Radio* http://www.tornadostream.com
*Must Read* http://www.smithmediafusion.com/blog

[quoted text, click to view]

AddThis Social Bookmark Button