hi all
i was just re-reading this post (someone posted a similar topic on the
swfobject forum) and thought i should point out a mistake of mine. i
mentioned getURL would work fine, but I was mistaken: getURL WILL be
blocked, as will navigateToURL.
"In Adobe Flash Player 9 update 3 (v9.0.115.0), calling getURL (or its
ActionScript 3.0 equivalent, navigateToURL) does not work properly
when the calling Flash Player movie (SWF) file is located in a
different domain than its hosting HTML page. An exception to this
issue is when the target name is "_blank" or the HTML parameter
AllowScriptAccess is set to "always.""
http://www.adobe.com/go/50c1cf38
sorry for any confusion.
- philip
On Feb 14, 9:33 am, philip <
platelu...@gmail.com> wrote:
> hate to break it to you, but all of your "click test" examples on your
> blog are being blocked in my IE6 (WinXP). all of your "click test 2"
> buttons fail and generate an "object is null" error in IE6, too.
>
> this is definitely not a SWFObject issue... it's due tosecurity
> issues with ActionScript 3's navigateToURL featurehttp://
kb.adobe.com/selfservice/viewContent.do?externalId=50c1cf38&sl...
>
> pages generated using Flash CS3's publish feature suffer the same
> issues.
>
> for what it's worth, links using AS2's getURL don't get blocked.
>
> i see you've already hit the 'bug report' page for navigateToURL:
http://bugs.adobe.com/jira/browse/SDK-12987
>
> some people have devised workarounds, but i don't know how well they
> work or in what situations:
>
>
http://skovalyov.blogspot.com/2007/01/how-to-prevent-pop-up-blocking-...http://flexgraphix.com/blog/?p=16
>
> -philip