I want to control movieclip "A" components from movieclip "B".
movieclip A :
function click1(event:MouseEvent):void
{
// I want to change text of button which is inside movieclip "B" in here.
}
btn1.addEventListener(MouseEvent.CLICK , click1);
movieclip B :
function click2(event:MouseEvent):void
{
//and here I want to change text of button which is inside movieclip "A".
}
btn2.addEventListener(MouseEvent.CLICK , click2);
how can I do this?
sorry for my English.