Creating an SWF Creative File for Use in Open AdStream (OAS)

laborermaizeΛογισμικό & κατασκευή λογ/κού

4 Ιουλ 2012 (πριν από 6 χρόνια και 17 μέρες)

469 εμφανίσεις

Creating an SWF Creative File for Use in Open AdStream (OAS)
These instructions are intended for Flash Versions 7, 8, and 9 using ActionScript 2.0
ActionScript 3.0 is not recommended; currently, pop-up blockers only allow the 'onRelease' command.
Unfortunately, this command has been removed in ActionScript 3.0.
Setup Steps:
A clickable flash object such as a button or “hitarea” in the flash movie clip will require some actionscript
attached to it.
Associate the on(release) event with that object.
The object will now listen for that particular event. When the event occurs it will trigger actionscript
Place the click tag actionscript (listed below) as the instructions for the “on(release)” event
// Check for malicious code injections, only use URLs if they begin with http: or
if ((_root.clickTAG.substr(0, 5) == "http:") || (_root.clickTAG.substr(0, 6) ==
getURL(_root.clickTAG, "_blank");
// If malicious code is detected or no URL is passed use hard coded URL
getURL("[FAIL_OVER_URL]", "_blank");
* The [FAIL_OVER_URL] should be replaced with the click through URL that will be used when a click
URL is not passed
Additional Notes:
If the whole file is meant to be clickable, a transparent button should be placed on the top layer of the
In order to track clicks within OAS, the SWF
must not
be setup with a hardcoded click URL.