Home > Blog > AS3 Pitfalls – MouseEvent.DOUBLE_CLICK

AS3 Pitfalls – MouseEvent.DOUBLE_CLICK

PROBLEM:

MouseEvent.DOUBLE_CLICK doesn’t work!

SOLUTION:

Set the object’s doubleClickEnabled flag to true

1
2
myBtn.doubleClickEnabled = true;
myBtn.addEventListener(MouseEvent.DOUBLE_CLICK, double_click);

Other search terms:
DOUBLE_CLICK not working
DOUBLE_CLICK not responding
DOUBLE_CLICK broken
DOUBLE_CLICK bug
DOUBLE_CLICK buggy
DOUBLE_CLICK problem

Popularity: 12% [?]

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • LinkedIn
  • Mixx
  • Google
  • Technorati
  • Print this article!
  • E-mail this story to a friend!
Rate this Post:
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...
 

One Comment

  1. TheBigCheese

    Thanks!

Leave a Comment




Your Comment