No actually, the timeline i want to access is the main timeline of the Flash file. This flash file has a Document class called Doc.as. This Doc.as file instantiates the menu and adds it to the stage. Within this menu, Menu.as, the Click Event can be found.
Doc.as...
private var _menu:Menu = new Menu();
this.stage.addChild(_menu);
Menu.as...
//link to main timeline frames - not working
function iconClicked(e:MouseEvent):void {
var mc:MovieClip = stage as MovieClip;
mc.gotoAndPlay('e.target.path');
}
This gives me a new error: Is this because the menu has not been added to the stage before i have access to the main timeline? Perhaps using the ADDED_TO_STAGE Event might work?
"TypeError: Error #1009: Cannot access a property or method of a null object reference."
Any additional advice is appreciated! Thanks!