The Produce News SWF File Specifications
The Produce News SWF File Specifications
The Produce News SWF File Specifications
- Flash 10.1 or lower
- Include a clickTAG. (See proper clickTAG implementation below)
- Submit a click-through url
- Use Actionscript 2
- Maximum file size 40k
- Animation: 15 sec.
- Include a back-up jpg file when submitting swf files
Proper clickTAG implementation
- The clickTAG is inserted in the .fla file before converting it to the .swf file.
- The clickTAG variable is properly implemented in the action of the button. In the getURL() function of the action, make sure to specify the clickthrough URL as clickTAG and the target window as "_blank". For example: getURL(clickTAG,"_blank");Our ad server will only recognize the standard casing of "clickTAG" for the variable name (not "ClickTag" or "clicktag", for example).
- Depending on the structure of a Flash creative, it may be necessary to prepend _root. or _level0. to clickTAG, resulting in _root.clickTAG or _level0.clickTAG. The code below illustrates proper use of the clickTAG parameter.
on (release) {
if (clickTAG.substr(0,5) == "http:") {
getURL(clickTAG, "_blank");
}
}
- The button associated with the ActionScript that contains the clickTAG is on the top-most layer through the timeline.
- The button associated with the ActionScript that contains the clickTAG is extended throughout the entire frame and is applied to all existing frames.