Home Category Blog AS3 Click Tag Causing Popup Blocker in IE

AS3 Click Tag Causing Popup Blocker in IE

E-mail Print PDF

When it comes to ad serving our flash ads on our network. I have been dealing with Doubleclick support as they claim that they support AC3 clicktags, although when it comes to loading the creative with the below clicktag:

Link_1.addEventListener( MouseEvent.MOUSE_UP, function(event: MouseEvent): void { var sURL1: String; if ((sURL1 = root.loaderInfo.parameters.clickTag)) { void ExternalInterface.call('open', sURL1, '_blank'); } } )

It just won't work on default. We have to manually go in and change the code. 

Both the object tag and the embed tag of the AS3 swf file has the setting of allowscriptaccess="never" (object tag: <param value="never"
name="AllowScriptAccess">, and the embed tag: <embed width="XXX"
height="XXX" allowscriptaccess="never"...). This must be set to allowscriptaccess="always" in both the object and embed tag within the AS3 swf file.
The other option is to have the swf created in AS2.

Both the object tag and the embed tag of the AS3 swf file has the setting of allowscriptaccess="never" (object tag: <param value="never"name="AllowScriptAccess">, and the embed tag: <embed width="XXX"height="XXX" allowscriptaccess="never"...). This must be set to allowscriptaccess="always" in both the object and embed tag within the AS3 swf file. 

To sum that up change from this:
allowscriptaccess="never" 

To this:
allowscriptaccess="always" 

This should be rather easy if you are using DFP. Just change the code under the custom creative window.

This can be rather difficult to communicate to agencies or or publishers but unfortunately it's the only work around, For now anyway...

The other option is to have the swf created in AS2

 

 

Last Updated ( Tuesday, 18 October 2011 12:37 )  

Add comment


Security code
Refresh

Name:

Email:

Sample image

Latest News

Popular