Adform
Ad Center
Home
Test
Creative Toolkit
Banner Specifications
Tag Specifications
Code Examples
Code Examples
Code Examples
clickTAG
clickTAG naming convention
Transferring variables
Streaming *.flv files
Streaming *.swf files
Floating banner close button
Expandable banner – no collapse on mouse out
allowDomain
Flash cookies
Polite banners security settings
Polite banners
Event tracking (Banners hosted on Adform servers)
Event tracking - function calls on specific events
Measuring Viewing Time – function calls when the film starts
Measuring Viewing Time – function calls After 5, 10, 20 seconds of showing
Measuring Viewing Time – function calls when the film has been streamed till the end
Tear back banner - close button
Synchronized Banners – sending a command
Synchronized Banners – listening for a command
clickTAG
ActionScript 2.0 code:
ActionScript 3.0 code:
clickTAG naming convention
Transferring variables
ActionScript 2.0 code:
ActionScript 3.0 code:
Streaming *.flv files
ActionScript 2.0 code:
ActionScript 3.0 code:
Streaming *.swf files
ActionScript 2.0 code:
ActionScript 3.0 code:
Floating banner close button
ActionScript 2.0 code:
ActionScript 3.0 code:
Expandable banner – no collapse on mouse out
ActionScript 2.0 code:
ActionScript 3.0 code:
allowDomain
ActionScript 2.0 code:
ActionScript 3.0 code:
Flash cookies
Polite banners security settings
Polite banners
Event tracking (Banners hosted on Adform servers)
ActionScript 2.0 code:
ActionScript 3.0 code:
Event tracking - function calls on specific events
ActionScript 2.0 code:
ActionScript 3.0 code:
Measuring Viewing Time – function calls when the film starts
ActionScript 2.0 code:
ActionScript 3.0 code:
Measuring Viewing Time – function calls After 5, 10, 20 seconds of showing
ActionScript 2.0 code:
ActionScript 3.0 code:
Measuring Viewing Time – function calls when the film has been streamed till the end
ActionScript 2.0 code:
ActionScript 3.0 code:
Tear back banner - close button
ActionScript 2.0 code:
ActionScript 3.0 code:
Synchronized Banners – sending a command
ActionScript 2.0 code:
ActionScript 3.0 code:
Synchronized Banners – listening for a command
ActionScript 2.0 code:
ActionScript 3.0 code: