1999 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Author had a Free File of the Month
  • Won a Competition
  • Bought between 10 and 49 items
+4 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

3671 posts Community Moderator
  • Has been a member for 5-6 years
  • Contributed a Tutorial to a Tuts+ Site
  • Netherlands
  • Community Moderator
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Exclusive Author
+4 more
Joost Volunteer 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

1999 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Author had a Free File of the Month
  • Won a Competition
  • Bought between 10 and 49 items
+4 more
bitfade says

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

4140 posts
  • Bought between 1 and 9 items
  • Brazil
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
tsafi says

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

should be MouseEvent.MOUSE_CLICK -if you go full screen

1999 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Author had a Free File of the Month
  • Won a Competition
  • Bought between 10 and 49 items
+4 more
bitfade says

should be MouseEvent.MOUSE_CLICK -if you go full screen
:nerdy:
3069 posts
  • Has been a member for 6-7 years
  • Won a Competition
  • Sold between 50 000 and 100 000 dollars
  • Bought between 10 and 49 items
  • Referred between 50 and 99 users
  • Exclusive Author
  • Romania
wickedpixel says

I always put mine on MouseEvent.MOUSE_MOVE.

4140 posts
  • Bought between 1 and 9 items
  • Brazil
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
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:

1999 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Author had a Free File of the Month
  • Won a Competition
  • Bought between 10 and 49 items
+4 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
3069 posts
  • Has been a member for 6-7 years
  • Won a Competition
  • Sold between 50 000 and 100 000 dollars
  • Bought between 10 and 49 items
  • Referred between 50 and 99 users
  • Exclusive Author
  • Romania
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.

5310 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
  • Author had a Free File of the Month
+5 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