Flash
baltimoresun.com accepts flash advertisements, assuming that all creative meets the specifications for the site. See below for guides to limit animations and to insert a clickTag.
ANIMATIONS
are restricted to a 15 second limit per loop with a maximum of 3 loops. Here is one method to restrict your banner to three loops:
- Create a new layer and name it "actions."
- Add the following actionscript to frame 1 of the actions layer:
numberOfLoops = 0;
- Create a keyframe on the actions layer on the very last frame of your movie. Add the following action to this keyframe:
gotoAndPlay(2);
- Create a keyframe on the actions layer on the frame you would like your movie to STOP at. Add the following actions:
if (numberOfLoops == 3) {
stop();
}
numberOfLoops++; - Test.
CLICKTAG
information must be included in all flash ads in order to track click-throughs. Here is the recommended method to include ClickTags. Follow instructions carefully. Click here for a video demonstration.
- Create an invisible button that covers the entire banner canvas and remains in this location for the duration of the timeline.
- Please follow the correct instruction below based on where your ad will appear.
For ads appearing on baltimoresun.com using ActionScript 2:
Attach the following action to your invisible button:on (release) {
getURL(clickTag, "_blank");
}- For ads appearing on baltimoresun.com using ActionScript 3:
Name your invisible button "clickBtn" then attach the following action to the frame containing it:
clickBtn.addEventListener(MouseEvent.MOUSE_UP, function(event: MouseEvent): void {
var sURL: String;
if ((sURL = root.loaderInfo.parameters.clickTag)) {
navigateToURL(new URLRequest(sURL), "_blank"); }});
} - For ads appearing on cars.com:
Attach the following action to your invisible button:on (release) {
getURL(_level0.clicktag, "_blank");
}
For more information about advertising and creative specifications, please contact Michael O'Neil at 410-332-6939.