I am having trouble trying to get a button to target a frame label. Right now I have the button inside a movie clip and my idea was to have the click event target a frame label that is outside of the button movie clip. The frame label actually lives within the parent movie clip of the movie clip holding the button. I am using Action Script 3.0 so I am not sure what to do. And not sure if I should have the actionscript inside the nested movie clip or in the parent. Here is what I have so far…
/*
The parent movie clip is called “services_mc”
The nested movie clip holding the button is called “brandID_mc”
The button is called “goback_btn”
The frame label “Home” is my target
*/
goback_btn.addEventListener(MouseEvent.CLICK, servicesHome);
function servicesHome(event:MouseEvent):void
{
gotoAndStop(“Home”);
}