This content has been marked as final. Show 4 replies
use the onMouseDown handler if you want to detect all mouse downs regardless of mouse location (over the stage). use the onPress handler if you want to detect a mouse down over a particular movieclip or button.
I don't want to detect a mouseEvent. I want to send a mouse event (e.g onPress) to a particular movieclip from within a script on the first frame/
You would need a function in the receiving movieclip that gets called when the onPress event occurs. That's the best I can offer without having more information about your design.
you can't send a mouseevent anywhere with as1/as2. you can call any function you like when any movieclip/button is pressed, though.