This is a general question about programing, which I am new to. I am building a website with actionscript 3.0.
the way i have it set up is that most of my code including other functions is nested inside the loader’s on complete function. I understand that nesting functions is a bad idea. But when I take code parts out of the loaders onComplete handler the code stops working. I must have set it up wrong.
Is putting all your code inside a loaders onComplete handler bad practice?
What code is generally put inside a loaders onComplete handler?
Thanks,