OMFG! How in the bloody hell do you tell the ROOT timeline to go to a different frame!?
What is so hard about this?
Please somebody tell me what I need to put into this function in order to make it work:
tempButton.addEventListener(MouseEvent.CLICK, tempButtonClick);
function tempButtonClick(Event:MouseEvent):void
{
if (theFrame == 1) {
theFrame = 10;
// _root.gotoAndStop(10);
} else {
theFrame = 1;
// _root.gotoAndStop(1);
}
}