when you test that (after closing _click() ), you should see a 50x50 black square at the upper left of your stage. when you mouseover that square your cursor should change to a hand. when you click the square you should see something in the output panel.
do you see all that?
I tested that and I see the black rectangle and the hand appears when I roll over it. The output panel is blank when I press the square?
Oh the output panel was blank because I was testing it in browser...
I found the code that works <3<3<3<3<3<3<3
For actionscript 3.0 it's (btn1 is instance name for my button)
btn1.buttonMode = true;
I found answer from this link: