Tuesday, March 30, 2010

Why MouseEvent doesn't work?

Hello, everyone.

I added a movieclip and named ''bot_mc'' in another movieclip. Then, In Action panel, I use bot_mc.addEventListener(MouseEvent.DOWN, xxxx). However, when I drag and drop the container movieclip on the main stage and compile. There is no error occurs but the MouseEvent doesn't work. How can I slove this problem. I need some help

Why MouseEvent doesn't work?

there's no MouseEvent.DOWN unless you create it.

use:

MouseEvent.MOUSE_DOWN

Why MouseEvent doesn't work?

Yes, actully, I used MouseEvent.MOUSE_DOWN. All code move to main timeline is OK, but cannot work in another movieclip.

what doesn't work?

No comments:

Post a Comment