This content has been marked as final. Show 4 replies
the easiest solution is to assign your main timeline to a variable and use that variable whereever you need a reference to your main timeline:
here's a 'trick' to get around it.
var myXML_xml:XML = new XML();
myXML_xml['parent'] = this;
//later on in the onLoad handler
where you currently have
EDIT: or kglad's solution is easier, faster and better!
Kglad -thanks. That seems pretty handy in most Flash situations.
i start all my timeline based projects with it and use a similar idea for class based projects.