Banner Ad Specification
Banner Ad Specification for GIF and JPG Ads
| Ad Name |
Size (Pixels) |
Max file size (KB) |
Max Rotations |
Max Animation (seconds) |
| Top Small |
234x60 |
20 |
3 |
15 |
| Top Full |
468x60 |
30 |
3 |
15 |
| LeaderBoard |
728x90 |
40 |
3 |
15 |
| Sidebar Tile Ad |
125x125 |
20 |
3 |
15 |
| Sidebar Skyscraper 1 |
120x600 |
40 |
3 |
15 |
| Sidebar Skyscraper 2 |
160x600 |
50 |
3 |
15 |
| Feature Ad (IMU) |
300x250 |
40 |
3 |
15 |
| Interstitial |
640x480 |
100 |
3 |
15 |
|
Note: Outlook will show only the first frame of an
animated GIF/JPG image. So, for newsletter ads the first frame should have a call for action. |
Banner Ad Specification for Flash Ads(must include a click tag code)
| Ad Name |
Size (Pixels) |
Initial file size (KB) |
Final File size (KB) |
Max Rotations |
Max Animation (seconds) |
| Top Small |
234x60 |
20 |
40 |
3 |
15 |
| Top Full |
468x60 |
30 |
60 |
3 |
15 |
| LeaderBoard |
728x90 |
40 |
80 |
3 |
15 |
| Sidebar Tile Ad |
125x125 |
20 |
40 |
3 |
15 |
| Sidebar Skyscraper 1 |
120x600 |
40 |
80 |
3 |
15 |
| Sidebar Skyscraper 2 |
160x600 |
50 |
100 |
3 |
15 |
| Feature Ad (IMU) |
300x250 |
40 |
80 |
3 |
15 |
| Interstitial |
640x480 |
100 |
200 |
3 |
15 |
How to add a click tag code to Flash ads
(technical guide for flash developers) Action Script 3
- Create a new top layer
- On that top layer create a shape(rectangle)covering the whole area of the document.
---- Set fill "alpha" to zero, to make shape transparent.
---- No borders ( Ensure that the shape has no unwanted borders.)
---- Convert shape into symbol (Selection tool - right click on shape, convert to symbol.
- Set property of shape to Movie Clip, and name it "my_mc"-- Properties./li>
- Name the Instance "my_mc" (to do so, for CS5 or above you may use a "Classic" workspace ( Window->Worksapce->Classic )).
- Click on the first time line of the new layer and open the action script (F9) editor.
- In the action script editor select "ActionScript 3.0 " and enter the following code:
// Define global parameter 'myClickString' to store to value of clickTag
var myClickString:String='';
// Navigate to the url when the user click on the flash object.
function GoToUrl(event:MouseEvent) {
var MyURL:URLRequest = new URLRequest(myClickString);
navigateToURL(MyURL,'_blank');
}
my_mc.addEventListener(MouseEvent.CLICK, GoToUrl);
// Set the cursor to hand when the mouse is over the movie Clip
my_mc.addEventListener(MouseEvent.ROLL_OVER,myMcOver);
// for CS3 do not add the return type (:void) of the myMcOver !!!
function myMcOver(event:MouseEvent):void {
my_mc.buttonMode = true;
my_mc.useHandCursor = true;
}
// Get clickTag value from the Query-String, after loading the flash document completed.
function loaderComplete(myEvent:Event) {
var myQueryStrings=this.loaderInfo.parameters;
myClickString=myQueryStrings.clickTag;
}
this.loaderInfo.addEventListener(Event.COMPLETE, loaderComplete);
Notes:
- The string 'clickTag' is the name of the parameter we are adding to the flash call that contain the target url. The 'clickTag' is case sensitive!
- When you test the code, you have to supply the clickTag code as a query-string after the file name
- Sample flash file download
- In case you run the above sample on your desktop, please allow flash to access http://www.ibsystems.com, or modify the script to your own site.
- The code above was tested with CS3 and CS5.5
|
Upcoming Events 2013 PA GIS Conference! at Penn Stater Conference Center Hotel 215 Innovation Park Blvd State College PA - Jun 3 - 5, 2013
|
|
|