Michael - if the loading happens very fast, then the XML has loaded
_before you've set the onLoad function_.
So change the order:
_root.attachMovie("loading", "loading", 10);
xmlData.onLoad = function(success:Boolean):Void {
// do this when loaded
};
xmlData.load(myUrl);
Ian
On 8/8/07, Mendelsohn, Michael <[EMAIL PROTECTED]> wrote:
> Hi list...
>
> Flash 8's help says XML.load() is asynchronous. But, when I place an
> animated MC on the stage and then call xml.load(), the animation doesn't
> run. A play() call on the attached MC doesn't work either. Anyone know
> why?
>
> Thanks,
> - Michael M.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com