Bulevard.bg - Parade banner

Parade%20banner large

нестандартен формат, разположен във видимата част на сайта, като избутва съдържанието автоматично надолу. Банерът се състои от две части – 970x90pxl, до 50 KB, като след автоматично разпъване достига размер 970x415 pxl до 60 KB. Задължително е наличиетo на бутон “Затвори”. При наличие на звук, той може да се активира само при действие от страна на потребителя. Банерът се показва веднъж на ден на уникален потребител. Всички банери се предават във fla file, заедно с използваните шрифтове. Задължително е банерите да се изработват с рамка.


Actionscript 2 - Assign the following function call to the button’s on (release) event:

on (release)
{
getURL(_root.clickTag, "_blank");
}


IMPORTANT: please pay attention to the character case in _root.clickTag variable!


Actionscript 3 - Add the following piece of code to its first frame:

 

var clickTag:String=LoaderInfo(this.root.loaderInfo).parameters.clickTag;
target_button.addEventListener(MouseEvent.CLICK, targetUrlHandler);
function targetUrlHandler(e:MouseEvent):void{
if(clickTag){
var req:URLRequest = new URLRequest(clickTag);
if(!ExternalInterface.available){
navigateToURL(req, "_blank");
}else{
var strUserAgent:String = String(ExternalInterface.call("function(){return navigator.userAgent;}")).toLowerCase();
if(strUserAgent.indexOf("firefox")!=-1||(strUserAgent.indexOf("msie")!=-1&&
uint(strUserAgent.substr(strUserAgent.indexOf("msie")+5,3))>=7)){
ExternalInterface.call("window.open", req.url, "_blank");
}else{
navigateToURL(req, "_blank");
}
}
}
}


  • All creatives should have an active area over its whole surface and throughout the complete animation sequence (both in folded and unfolded state) with the following function calls attached:

 

Actionscript 2

 

on (rollOver){
if(flash.external.ExternalInterface.available){
flash.external.ExternalInterface.call(_root.dopushon);
}else{
getURL("javascript:"+_root.dopushon+"();", "_self");
}
}

 


on (rollOut){
if(flash.external.ExternalInterface.available){
flash.external.ExternalInterface.call(_root.dopushoff);
}else{
getURL("javascript:"+_root.dopushoff+"();", "_self");
}
}


Actionscript 3

 

var dopushon:String=LoaderInfo(this.root.loaderInfo).parameters.dopushon;
var dopushoff:String=LoaderInfo(this.root.loaderInfo).parameters.dopushoff;
target_button.addEventListener(MouseEvent.ROLL_OVER, mouseRollOver);
target_button.addEventListener(MouseEvent.ROLL_OUT, mouseRollOut);
function mouseRollOver(e:MouseEvent):void{
if(dopushon){
ExternalInterface.call(dopushon);
}
}
function mouseRollOut(e:MouseEvent):void{
if(dopushoff){
ExternalInterface.call(dopushoff);
}
}


  •  The creative should call the following function on the first event (rollover):

 

Actionsript 2:

 

if(flash.external.ExternalInterface.available){

flash.external.ExternalInterface.call(_root.dopushlock);

}else{

getURL("javascript:"+_root.dopushlock+"();", "_self");

}


Actionscript 3:

 

var dopushlock:String=LoaderInfo(this.root.loaderInfo).parameters.dopushlock;
if(dopushlock){
ExternalInterface.call(dopushlock);
}

 


  • 5 seconds after starting its animation for the first time, the creative should call the following function:

Actionscript 2:

 

if(flash.external.ExternalInterface.available){
flash.external.ExternalInterface.call(_root.dopushunlock);
}else{
getURL("javascript:"+_root.dopushunlock+"();", "_self");
}


Actionscript 3:

 

var dopushunlock:String=LoaderInfo(this.root.loaderInfo).parameters.dopushunlock;
if(dopushunlock){
ExternalInterface.call(dopushunlock);
}

Tози сайт използва "Бисквитки". Научи повече Приемам

Моля, запознайте се с нашите Общи условия и Политика за поверителност