2054 posts
  • Affiliate Level 3
  • Author Level 11
  • Collector Level 2
  • Elite Author
+11 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

3875 posts Community Moderator
  • Weekly Top Seller
  • Moderator
  • Tuts+ Instructor
  • Netherlands
+10 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

2054 posts
  • Affiliate Level 3
  • Author Level 11
  • Collector Level 2
  • Elite Author
+11 more
bitfade
says

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

4140 posts
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 4
  • Brazil
+5 more
tsafi
says

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

should be MouseEvent.MOUSE_CLICK -if you go full screen

2054 posts
  • Affiliate Level 3
  • Author Level 11
  • Collector Level 2
  • Elite Author
+11 more
bitfade
says

should be MouseEvent.MOUSE_CLICK -if you go full screen
:nerdy:
3072 posts
  • Affiliate Level 3
  • Author Level 6
  • Collector Level 2
  • Weekly Top Seller
+7 more
wickedpixel
says

I always put mine on MouseEvent.MOUSE_MOVE.

4140 posts
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 4
  • Brazil
+5 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:

2054 posts
  • Affiliate Level 3
  • Author Level 11
  • Collector Level 2
  • Elite Author
+11 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
  • Affiliate Level 3
  • Author Level 6
  • Collector Level 2
  • Weekly Top Seller
+7 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.

5467 posts The Dude Abides
  • Top Monthly Author
  • Trendsetter
  • Weekly Top Seller
  • United States
+13 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