CarneTecBrasil flash banner ad instructions
Requirements for Flash ads
- Dimensions: 448 (w) x 60 (h) pixels, 72 dpi gif or jpeg
- Flash versions: All ads must be published to Flash Player version 4-9.
- ActionScript version: 2 only.
- Cover stage: The stage of the movie (the visible area) should be covered completely by an opaque shape or symbool. See instructions below for more information.
- Clicktag: Ads must make use of a clicktag. Please use all lowercase when naming this parameter (i.e. 'clicktag'). Instructions for adding a clicktag and the invisible button required are included below.
- Remotely hosted content: Remotely hosted content such as .swf, .flv, or image files is not allowed.
Instructions for Creating a Flash Ad
When creating a Flash banner for [PUBLICATION], following these steps will ensure that the ad displays and functions correctly.
NOTE: Please use ActionScript 2.0 and target Flash Player 9 or earlier (see Step C). This prevents problems when viewers have an older version of the Flash Player installed. Loading remotely hosted content (.swf, .flv, or image files) is not allowed.
A. Create an invisible button
NOTE: If you know how to create an invisible button, skip to Step B.
- 1. Add a layer named "button" to your Flash movie and drag it to the top of the list of layers.
- 2. With the "button" layer selected, use the rectangle tool to create a rectangle the size of the stage (the viewable area in Flash).
- 3. Double-click the rectangle and hit the F8 key (or select Modify > Convert to Symbol).
- 4. Give your button a name and make sure that "Button" is selected. Click OK.
- 5. Double-click the button you just created to open it.
- 6. In the timeline, click the frame labeled "Hit" to select it, then hit the F6 key (or select Insert > Timeline > Keyframe).
- 7. Now click the frame labeled "Up" to select it, then hit the Delete key to delete its contents.
- 8. The invisible button has been created. Click the Scene 1 button below the timeline to return to the main timeline.
B. Add the ActionScript
- Select the button and open the Actions window (select Window > Actions).
- If a button action already exists, please delete it.
- Making sure that the button is still selected, copy and paste the following ActionScript into the Actions window (NOTE: it must appear exactly as shown):
on (release) {
if (clicktag.substr(0,5) == "http:") {
getURL(clicktag);
}
}
C. Cover the stage completely
Be sure that the entire stage (the visible part of the movie) is covered by shapes or symbols. This prevents the background color of the HTML page from showing through in the banner. Placing a rectangle in the bottom layer that covers the stage and is filled with a solid color or gradient (no alpha transparency) is the easiest way to achieve this.
D. Publishing settings
On the Flash tab in Publish Settings (File > Publish Settings), Flash Player 9 or earlier should be selected under Version. The ActionScript version should be 2.0. If you were planning to use ActionScript 3.0 or target Flash Player 9+, please see the note at the top of these instructions.
E. Send the Flash files
Please send the Flash banner to webmaterials@carnetecbrasil.com in both .fla and .swf formats, and include the destination URL for the banner.