PDA

View Full Version : navigation from embeded mc's button to main timeline


shaunmcgrath
12-28-2008, 09:39 PM
hi
im working on my first flash site in cs3,
i have a button on a embeded movie clip which want to navigate to the main timeline. here is what ive got

import flash.events.MouseEvent;

galleryBTN.addEventListener(MouseEvent.CLICK, galleryClick);

function galleryClick(Event:MouseEvent):void{
gotoAndPlay ("gallery");
}

figure its a peice of code refering to parent yes? any help would be great:confused: