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 Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders