how do i declare onload events in classes in as2?
i am trying to tidy my code, but all my classes need to have sections in the root for their repsective onload events. i would much rather they were in the classes for code neatness
just create an onLoad() function in your class(es) that extend the movieclip class and that instantiate a member using the attachMovie() method.
Retrieving data ...