August 13th, 2006
Tip: Launching Popups From Flash
by Jameson Hsu
One of the things I commonly see people do when launching a link from Flash is to use the onPress method with getURL. This combination works in IE, but fails in Firefox if the domain is not explicitly allowed to launch popups.
The simple solution to overcoming blocked popups in Firefox is to use the onRelease method instead of the onPress method.
Here’s a sample SWF. You can also use the “Download FLA” link for additional reference.
Jameson Hsu is a co-founder of Mochi Media and a connoisseur of the japanese treat mochi. Prior to founding Mochi Media, Jameson co-founded the award winning interactive design firm WDDG. He has produced numerous advergames and award winning advertising campaigns for companies such as HP, Kraft Foods, Altoids, eBay, and many more.
This entry was posted
2 years, 3 months ago on Sunday, August 13th, 2006 and is filed under
Flash Development,
MochiLand Topics.
You can follow any responses to this entry through the
RSS 2.0 feed.
You can
leave a response, or
trackback from your own site.
Add Your Comment