timeline and movieclip parent

btn_ie.addEventListener(MouseEvent.MOUSE_DOWN, click_d);

function click_d(event:MouseEvent):void
{

switch (event.currentTarget)
{

case btn_ie :
MovieClip(this.parent.parent).gotoAndStop("p_r");
MovieClip(this.parent).gotoAndStop(2);
gotoAndStop(2);
break;
}
}

0 comments:

Post a Comment