If you’re a Flash or web developer, then you may come across a security-invoked problem whereby links inside your Flash movie don’t react, when you try and open a link within the current browser window. Crazy, I know, but bear with me. I have no idea why this should be so – I’m sure someone knows – but the solution is simple. (I found it after a few minutes searching online, at sitepoint.)

Set allowScriptAccess="always" in your call to the Flash file, either directly in the OBJECT or EMBED tag, or as part of the params associative array if you’re using SWFObject.

var params={};
params.allowScriptAccess="always";

One response to “getURL and target “_self” not working?”

  1. Felipe Leân avatar

    You rocks! Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

For security, use of Google’s reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

This site uses Akismet to reduce spam. Learn how your comment data is processed.