JrMasterModelBuilder Posted July 16, 2011 Share Posted July 16, 2011 So, I just found the stupidest browser glitch in the world, and I could really use a hack to get around it. Unfortunately, I have yet to come up with one, and I hope someone can help me. So, here's what it takes to get the glitch (happens in Firefox (and maybe other Gecko browsers) only): When a Flash file is set to wmode="transparent" the button will load properly the first time. You can click on buttons, and it will respond. However, if that button takes you to another page, then you click back on your browser, then try to click the Flash object again, it doesn't register the click. You have to first click elsewhere on the page, then click the Flash object again to register the click. Here is an example. (Must be done in Firefox.) All the files can be viewed here: http://jrmastermodelbuilder.netai.net/other/firefoxflashwmodetransparent/ (I used SWFobject to embed the SWF for simplicity sake but it happens with or without it.) As you can see, the button only registers mouse overs, but no clicks. wmode="transparent" is a design requirement for my design I'm working on. I can trap all clicks on the object with JavaScript, but I can't come up with anything to do with them from there. Any help (probably some kind of HTML/JavaScript hack) would be greatly appreciated! I would rather not have people think my website is broken in this very likely scenario. Link to comment Share on other sites More sharing options...
Fluffy Cupcake Posted July 16, 2011 Share Posted July 16, 2011 I'm not having any problems with the button after going back. Link to comment Share on other sites More sharing options...
Minifig9292 Posted July 16, 2011 Share Posted July 16, 2011 Me neither. I think it may be something on you're end here. Link to comment Share on other sites More sharing options...
McJobless Posted July 16, 2011 Share Posted July 16, 2011 I know this is somewhat unrelated, but I'd like to point it out. Tor, as you should know, is a Browser security bypass for Firefox. Essentially, it allows you to undermine internet-filtering on any network you connect to, as well as provide a suite of security features to remain near anonymous on the internet. If your school network bans a website, you download Tor which includes a portable version of Firefox. Link to comment Share on other sites More sharing options...
JrMasterModelBuilder Posted July 31, 2011 Author Share Posted July 31, 2011 It's been a while since I found this issue. Glad to hear most people don't have the issue, though Google says I'm not the only one. As a fail-safe, I added a JavaScript event listener to the containing div that, when the mouse is down, will call a function (through external interface) in Flash to tell it that the mouse is down and to check if there is a button at that coordinate (hitTestPoint). Link to comment Share on other sites More sharing options...
Recommended Posts