Perhaps insert a callback from within the for loop and a pause until the other method finishes before continuing the mentioned for-loop.

Cheers,

Eric R. Shinn
[EMAIL PROTECTED]


On Nov 9, 2005, at 5:15 AM, allandt bik-elliott (Receptacle) wrote:

okay i know what the problem is but i don't know how to get around it

the loadVars object's onLoad function is firing after the for loop finishes so it's grabbing the description_txt from the last xml item (which doesn't have any description_txt as it will behave slightly differently) so the description_txt gets wiped and it's type becomes undefined

so i guess the question i have is how do i call the onLoad function during the loop rather than after it? _______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to