i've found that the best way of dealing with this kind of thing is to push it onto an array (either on _root or _global) in the onLoad and manipulate that

but if you need to set up buttons etc using the variables at start, you'll need to add it all to the onLoad (create a function for that purpose)



On 28 May 2007, at 10:34, John Trentini wrote:

Muzac,

Thanks I understand that is what should happen but I implemented tyour code and still no luck, I'll fiddel some more with this...

I did ask the question on the falshnewbie but I got no response at all, go figure, hey!

Thanks for your input.

cheers
JohnT

Muzak wrote:

----- Original Message ----- From: "John Trentini" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, May 28, 2007 7:23 AM
Subject: Re: [Flashcoders] loadVars not initialising first



Thanks Mike,
i am realising this but i haven't found a way of stopping everything else from happening until my loadVars is complete.



That's because you're actually trying to "do something else" before data is loaded, which you shouldn't.. You just "wait" for the data to be loaded (when the onLoad event handler is triggered) and then "do something else".
That's exactly what I showed in the example I sent earlier.

And .. sigh.. you should be asking this on the flashnewbie list..
http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie

regards,
Muzak

_______________________________________________
[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



_______________________________________________
[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

_______________________________________________
[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

Reply via email to