getURL and target “_self” not working?

Geek stuff, InternetTuesday, 22nd July, 2008

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";


View most recent articles

Add a comment

I receive an email with your comment as soon as you've added it.

If you've not posted a comment before, I'll have to check it before it appears online. Bloody spammers are to blame, sorry!