Thursday, 14 March 2013

EaselJS: How to use the mouseup event



The mouseup event isn't as straight forward to use as the other click type events.

It has to be an event listener of a mousedown event, as shown above.

I believe the mousemove event is used in the same way (in fact, I figured out how to attach a mousedown event by looking at a mousemove event from the tutorials).

3 comments:

  1. Thank you! This had me stumped for a little bit.

    ReplyDelete
  2. I can not read the code snippet. Too small on iPhone. And cannot zoom the page or select the text to paste it into Notes.

    ReplyDelete

Please enter your message here...