Flash button not reacting at all...
- by Jerre
Hi,
I'm making a game in Flash for school. I have a few dialog boxes that work just fine! Now I need a bigger one with more buttons and with the same code, I can't even get a trace reaction...
My code:
On the button itself:
okButton.addEventListener(MouseEvent.CLICK,MovieClip(parent).clickMyButton);
In the AS file:
public function clickMyButton(event:MouseEvent) {
trace("Halloooo");
}
Another question:
How can I close (remove from stage) a child dialog box (movie clip)