Hi All!
I have a scrollPane [sp] on the stage which is populated by a movie clip named myFurniture. In that movie clip I have a button named bed1. I can address the button but the mouse event won't trace. What's wrong with this code?
Thanks so much!
PHP Code:
myFurniture(sp.content).bed1.buttonMode = true;
myFurniture(sp.content).bed1.addEventListener(MouseEvent.CLICK, bed1btndown, false, 0, true);
function bed1btndown(event:MouseEvent):void
{
trace("works");
}