HaxeFlixel misses about 5% of all mousedown events when running Flash in Firefox?

34 views
Skip to first unread message

Aaron Pieper

unread,
Jan 28, 2016, 4:31:29 PM1/28/16
to HaxeFlixel
I've gone through most of the Haxeflixel demos in Firefox/Flash and they all seem inconsistent with the mouse. It seems like mouse clicks are often ignored.

For example, I went through the http://haxeflixel.com/demos/Cursor/ demo and tried clicking each button a few times in a row, click-click-click. About 5% of my mouse clicks get ignored, the button doesn't always light up. Similarly, for something like FlxCaveGenerator, if I click the "Regenerate" button 50 times, maybe about 2-3 times the button just won't work. I can keep my mouse held down on the button, and it's like it just never caught the mousedown event -- the button stays unlit.

I also went through the HaxeFlixel "TurnBasedRPG" tutorial myself. The game works OK when it's launched with Adobe's stand-alone flash player, but it has the same mouse issue when it's launched within the browser.

I've duplicated the problem on two different PCs, so I know it's not specific to one computer or one mouse. Has anybody else experienced this problem? Is it a problem with Flash, or with HaxeFlixel, or with Firefox, or Firefox's Flash plugin?

Gama11

unread,
Jan 29, 2016, 3:50:38 AM1/29/16
to HaxeFlixel
Can you reproduce that on other targets as well? This issue might be related: https://github.com/HaxeFlixel/flixel/issues/1370

Aaron Pieper

unread,
Jan 30, 2016, 6:27:29 PM1/30/16
to haxef...@googlegroups.com
I was unable to duplicate the issue in Adobe AIR, it only happens in the browser. The error doesn't happen when targetting Windows. The issue also doesn't happen when running Flash in Internet Explorer. It seems to very specifically only effect Flash, and only when running in Firefox.

The demo at http://haxeflixel.com/demos/FlxNape/ is a more obvious example of the bug. When running this demo in Firefox, this demo misses about 20%-50% of mouse clicks depending on the speed of the system.

The bug you referenced is related, but for this bug it doesn't matter how long you press the button for. You can click and hold the button for 5 seconds, but it will never register as being pressed.

--
HaxeFlixel Development Community
See our github https://github.com/haxeflixel/ and our documentation http://haxeflixel.com/documentation/
---
You received this message because you are subscribed to a topic in the Google Groups "HaxeFlixel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/haxeflixel/164JDWSxsbg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to haxeflixel+...@googlegroups.com.
Visit this group at https://groups.google.com/group/haxeflixel.
To view this discussion on the web visit https://groups.google.com/d/msgid/haxeflixel/a6722330-91bd-4b1a-8bf4-d157f72d49b1%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages