- 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.
- Instructions for Version 7/ Version 8/ Version 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 generally 'getURL(clickTAG,"_blank");'
Button Code:
on(release){
getURL(clickTAG,"_blank");
}
MovieClip Code:
on(release){
getURL(this._parent.clickTAG,"_blank");
}
- The extra parameter for the getURL function determines the target window for the redirected content. "_blank" will generate a new browser window.