Hello Robot: Tobias Gärder om design, webbutveckling och mjukvara.

Flash: Internet Explorer Blocks GetURL() As Pop-Ups, Solution Found

Adobe FlashI’ve just spent way too much time troubleshooting an issue I had with regular getURL() calls in actionscript triggering the information bar in Internet Explorer 7 and 8, thus blocking the link as a pop-up (regular calls, no javascript involved). I had two ads using the same code, one triggering the pop-up blocker and one that didn’t and it took me embarrassingly long time to realize that the only difference was in the Flash player I exported for.

So, Internet Explorer blocked all getURL() calls in my swf:s exported for Flash Player 7, but worked fine in swf:s exported for Flash Player 8. So, if you’re out there looking for a solution – just skip the whole let’s-publish-for-old-versions thing and get on with it.

  • I believe Actionscript3 did away with the GetURL entirely so you won't encounter this problem when exporting for actionscript 3! (another reason to leave as2 behind)
blog comments powered by Disqus