Hi Guys...
I am learning AS quickly but need some help simplyfying this bit of code, I have to create 43 of them and know that there must be a more simplyfied way of doin it! Can anyone show me the light?
ThanksCode:thisText = new LoadVars(); thisText.load("exhibitor1.txt"); thisText.onLoad = function(success) { if (success) { title1.text = thisText.exhibitor1_name; } } thisText2 = new LoadVars(); thisText2.load("exhibitor2.txt"); thisText2.onLoad = function(success) { if (success) { title2.text = thisText2.exhibitor2_name; } }




Reply With Quote