| Flash Technical Production: |
Must be published to a minimum of Flash Player 8
Define background color in movie itself (sprite based) and not as a background color in movie parameters.
Our system strips out the stage color, leaving it transparent. Instead add in a colored image background.
Please note clickTAG has to have "TAG" capitalized.
You can have up to 6 links from a Flash ad, you just need to keep incrementing the number that follows clickTAG by one.
URL must NOT be embedded in the file.
If you are using Actionscript 1 or Actionscript 2:
Banner button needs to have this EXACT actionscript.
| SINGLE CLICK-THRU |
on (release) {
getURL (clickTAG, "_blank");
} |
| MULTIPLE CLICK-THRUS |
on (release) {
getURL (_level0.clickTAG,"_blank");
}
on (release) {
getURL (_level0.clickTAG2,"_blank");
}
on (release) {
getURL (_level0.clickTAG3,"_blank");
}
|
If you are using Actionscript 3:
Your button must have an instance name of “btn” for this code to work.
| SINGLE CLICK-THRU |
var url:String = "";
url = this.loaderInfo.parameters.clickTAG;
btn.addEventListener(MouseEvent.MOUSE_UP, onClick);
function onClick(evt:MouseEvent):void{
navigateToURL(new URLRequest(url), "_blank");
} |
| MULTIPLE CLICK-THRUS |
var url:String = "";
var url2:String = "";
var url3:String = "";
url = this.loaderInfo.parameters.clickTAG;
url2 = this.loaderInfo.parameters.clickTAG2;
url3 = this.loaderInfo.parameters.clickTAG3;
btn.addEventListener(MouseEvent.MOUSE_UP, onClick);
btn2.addEventListener(MouseEvent.MOUSE_UP, onClick2);
btn3.addEventListener(MouseEvent.MOUSE_UP, onClick3);
function onClick(evt:MouseEvent):void{
navigateToURL(new URLRequest(url), "_blank");
}
function onClick2(evt:MouseEvent):void{
navigateToURL(new URLRequest(url2), "_blank");
}
function onClick3(evt:MouseEvent):void{
navigateToURL(new URLRequest(url3), "_blank");
} |
|