Preparing the SWF Source- Do not hard-code the URL into the Flash button. This will bypass the
OAS system and thus not allow clicks to be counted. Please follow the instructions appropriate to your version of Flash.
- All flash ads must open in a new window.
- The
first necessary requirement for modifying a flash ad is that the
underlying source file, the Swf file which is a compiled file from an
original Flash authored filed, must be prepared to receive
click-through parameters.
- Actionscript changes will need to be made by the flash
developer who authored the original creative source. The following
instructions are simple steps for Flash version 6.
Flash MX / Version 6- 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 instructions.
- Place
the 'getURL(clickTAG);' actionscript as the instructions. The flash ad
code generated will be programmed to pass in the 'clickTAG' as a
parameter to that flash ad upon which clicking on the ad
will direct the user to the click through Url value found in the
clickTAG.
- Make
sure to check off the "Expression" checkbox for the URL field that is
the variable for the getURL actionscript function.
Flash MX / Versions 7-9(The
latest flash player will understand previous Flash version's
actionscript.) - Instructions
for Flash MX / Version 7-9 are nearly identical to
the Version 6 instructions. The next few items detail the subtle
differences.
- Instead
of the 'getURL(clickTAG);' as the actionscript, for Version 7/Version
8/Version 9 it will be 'getURL(clickTAG,"_blank");'.
- The extra parameter for the getURL function determines the target
window for the redirected content. "_blank" will generate a new browser
window.
Button Code: on(release){ getURL(clickTAG,"_blank"); } MovieClip Code: on(release){ getURL(this._parent.clickTAG,"_blank"); } |
|