|
Flash CS4 Resources |
Advertising with FlashUsing recommended dimensionsUse the Interactive Advertising Bureau (IAB) guidelines to set dimensions for your Flash advertisements. The following table lists the recommended Interactive Marketing Unit (IMU) ad formats measurements:
When you create a FLA file from a template (Select File > New, and click the Templates tab), you see many of these sizes. Creating SWF file advertisementsUse these guidelines when you create advertisements:
Note: Provide control to the user. If you add sound to an advertisement,
also add a mute button. If you create a transparent Flash ad that hovers over a web page,
provide a button to close the advertisement for its duration.
Tracking advertisementsSeveral leading advertising networks now support standardized tracking methods in Flash SWF files. The following guidelines describe the supported tracking methodology:
myButton_btn.onRelease = function(){
getURL(clickTAG, "_blank");
};
You might add the following code to Frame 1 of the Timeline: myButton_btn.onRelease = function() {
if (clickTAG.substr(0, 5) == "http:") {
getURL(clickTAG);
}
};
The getURL() function adds the variable passed in the object and embed tags, and then sends the browser that is launched to the specified location. The server hosting the ad can track clicks on the advertisement. For more information on using the getURL() function, see ActionScript 2.0 Language Reference.
<EMBED src="your_ad.swf?clickTAG= http://helpexamples.com/tracking?http://www.adobe.com"> Add the following code in your HTML: <PARAM NAME=movie VALUE="your_ad.swf?clickTAG =http: //helpexamples.com/tracking?http://www.adobe.com"> For more information on advanced tracking techniques, see the Rich Media Advertising Center at www.adobe.com/go/rich_media_ads. To download the Rich Media Tracking Kit, which includes examples and documentation, see www.adobe.com/go/richmedia_tracking. To learn more about and download the Flash Ad Kit, which helps you deliver integrated and sophisticated advertisements, see www.adobe.com/go/learn_fl_flash_ad_kit. Testing your adsTest your SWF file ad on the most common browsers, especially the browsers that your target audience uses. Some users might not have Flash Player installed or they might have JavaScript disabled. Plan for these circumstances by having a replacement (default) GIF image or other scenarios for these users. For more information on detecting Flash Player, see Specify publish settings for SWF files. Give the user control of the SWF file. Let the user control any audio in the ad. If the advertisement is a borderless SWF file that hovers over a web page, let the user close the advertisement immediately and for the duration of the ad. For the latest information on Flash Player version penetration for different regions, go to www.adobe.com/go/fp_version_penetration. |