2010 posts
  • Has referred 50+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 more
bitfade says

Bug details

i just spent 2 hours on it … than realized it was a bug

problem arise when you set fullscreen on MouseEvent.MOUSE_UP event listener: the plugin goes fullscreen but you don’t get any more interactive events (except wheel) until you exit fullscreen

solution is to use MouseEvent.MOUSE_UP instead, than all works as expected

3738 posts Community Moderator
  • Helps us moderate the forums
  • Contributed a tutorial on Tuts+
  • Located in Netherlands
  • Made it to the Authors' Hall of Fame
+9 more
Joost Moderator says

problem arise when you set fullscreen on MouseEvent.MOUSE_UP event listener

...

solution is to use MouseEvent.MOUSE_UP instead

Thanks for sharing, but shouldn’t one of those events be something different? :o

2010 posts
  • Has referred 50+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 more
bitfade says

doh! ... last one should have been MouseEvent.MOUSE_DOWN

4140 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 more
tsafi says

doh! ... last one should have been MouseEvent.MOUSE_DOWN

should be MouseEvent.MOUSE_CLICK -if you go full screen

2010 posts
  • Has referred 50+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 more
bitfade says

should be MouseEvent.MOUSE_CLICK -if you go full screen
:nerdy:
3072 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Had an item featured on Envato Market
+5 more
wickedpixel says

I always put mine on MouseEvent.MOUSE_MOVE.

4140 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 more
tsafi says


should be MouseEvent.MOUSE_CLICK -if you go full screen
:nerdy:

I am not the one who uses girl-y function. Be a man Bitf and update your last item with CLICK on full screen :nerdy:

2010 posts
  • Has referred 50+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 more
bitfade says

I am not the one who uses girl-y function. Be a man Bitf and update your lest item with CLICK on full screen :nerdy:
ok, you got this one … one point for you
3072 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Had an item featured on Envato Market
+5 more
wickedpixel says

For some reason I was using the MOUSE _UP for buttons a while ago. Then I realized that CLICK is the way to go. It is more user friendly.
MOUSE _UP is bad because if the user clicks o a scrollbar > handles it > the releases the click over the fullscreen_btn… it will go full-screen. BAD .
MOUSE _DOWN gives to a user no chance to cancel his action. BAD .
.CLICK is cool because you can click down on the button and then cancel the action if you exit the button area.

5385 posts The Dude Abides
  • Located in United States
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has been part of the Envato Community for over 5 years
+9 more
CodingJack says


I am not the one who uses girl-y function. Be a man Bitf and update your lest item with CLICK on full screen :nerdy:
ok, you got this one … one point for you

It’s a MouseEvent throwdown :D

by
by
by
by
by
by