A silly question but then, I can’t find any answer to it…
On my library I have 2 movieclips: container (linkage:container) and bt1(linkage:bt1, only a button), I dropped bt1 on the container’s stage, now in order to display it I go:
var myMenu:menu = new menu();
addChild(myMenu);
myMenu.x = 250;
myMenu.y = 150;
Now the question, how do I acces the bt1 within the myMenu?? because this doesn’t work:
myMenu.bt1.addEventListener(MouseEvent.CLICK, clickHandler);
function clickHandler(event:MouseEvent)
{
}
}