Grand - Angle (300x600) Specs Grand - Angle : Grand

Transcription

Grand - Angle (300x600) Specs Grand - Angle : Grand
Grand-Angle(300x600)
Specs
Grand-Angle:
Dimensions:300x600px
Allowedformats:jpg,gif,swf
Weight:60kbmax
Grand-AngleVidéo:
Dimensions:300x600px
Playerformatallowed:swf
Videoformatallowed:flv
Playerweight:60kbmax
Videoweight:5momax
Videolength:nolimit
Grand-AngleExpand:
Dimensionsfolded:300x600px
Dimensionsmaxunfolded:600x600px
Allowedformats:jpg,gif,swf
Weight:80kbmax
Recommandations
Grand-Angle:
Forhtml5creative:
TheimportofaHTMLformatisdoneviaazipfilecontainingthecreationandtheresources.
Architectureofthezip:
·ThemainHTMLfilehastobenamedindex.html(or.htm)
·TheIndex.html(.htm)filehastobeattherootofthezipfile
·Onlyonerootfolderisallowed
Countingofclicks:
Pleaserefertothefollowinglink:
https://support.smartadserver.com/hc/en-us/articles/204433791-Click-counting-in-HTML5-creatives
Grand-AngleVidéo:
Soundoffbydefault(canbeenableonrolloverorwithclickifitcanbedisablethesameway)
Hostingofthevideocompulsory,sendittoustogetalinktoimplementinreturn.
Forhtml5creative:
TheimportofaHTMLformatisdoneviaazipfilecontainingthecreationandtheresources.
Architectureofthezip:
·ThemainHTMLfilehastobenamedindex.html(or.htm)
·TheIndex.html(.htm)filehastobeattherootofthezipfile
·Onlyonerootfolderisallowed
Countingofclicks:
Pleaserefertothefollowinglink:
https://support.smartadserver.com/hc/en-us/articles/204433791-Click-counting-in-HTML5-creatives
Grand-AngleExpand:
-Theextensioniscompulsorytowardtheleftandonrollover,notonclick.Itisalsorecommendedtouseatimerbeforetheextension,soarapid
involuntaryrolloverdoesn'ttriggerit.
Forhtml5creative:
TheimportofaHTMLformatisdoneviaazipfilecontainingthecreationandtheresources.
Architectureofthezip:
·ThemainHTMLfilehastobenamedindex.html(or.htm)
·TheIndex.html(.htm)filehastobeattherootofthezipfile
·Onlyonerootfolderisallowed
Countingofclicks:
Pleaserefertothefollowinglink:
https://support.smartadserver.com/hc/en-us/articles/204433791-Click-counting-in-HTML5-creatives
Code
Grand-Angle:
FlashRedirection
Clicktag:Pleaseincludethefollowingactionscriptonthemainstage:
AS2:
on(release){getURL(_root.clickTag,'_blank');}
AS3:
buttonTag.buttonMode=true;
buttonTag.addEventListener(MouseEvent.CLICK,redirect);
functionredirect(e:MouseEvent):void{
varurl:String="http://www.melty.fr";
if(loaderInfo.parameters["clickTag"]){
url=loaderInfo.parameters["clickTag"];
}
//PourIE
if(ExternalInterface.available)
{
varuserAgent:String=ExternalInterface.call('function(){returnnavigator.userAgent;}');
//Enlocal,quanduserAgentestinexistant
if(userAgent==null){
userAgent="local";
}
if(userAgent.indexOf("MSIE")>=0){
ExternalInterface.call('window.open',url,"_blank");
}else{
varurlRequest:URLRequest=newURLRequest(url);
navigateToURL(urlRequest,"_blank");
}
}
else
{
varurlRequest2:URLRequest=newURLRequest(url);
navigateToURL(urlRequest2,"_blank");
}
}
Grand-AngleVidéo:
FlashRedirection
Clicktag:Pleaseincludethefollowingactionscriptonthemainstage:
AS2:
on(release){getURL(_root.clickTag,'_blank');}
AS3:
buttonTag.buttonMode=true;
buttonTag.addEventListener(MouseEvent.CLICK,redirect);
functionredirect(e:MouseEvent):void{
varurl:String="http://www.melty.fr";
if(loaderInfo.parameters["clickTag"]){
url=loaderInfo.parameters["clickTag"];
}
//PourIE
if(ExternalInterface.available)
{
varuserAgent:String=ExternalInterface.call('function(){returnnavigator.userAgent;}');
//Enlocal,quanduserAgentestinexistant
if(userAgent==null){
userAgent="local";
}
if(userAgent.indexOf("MSIE")>=0){
ExternalInterface.call('window.open',url,"_blank");
}else{
varurlRequest:URLRequest=newURLRequest(url);
navigateToURL(urlRequest,"_blank");
}
}
else
{
varurlRequest2:URLRequest=newURLRequest(url);
navigateToURL(urlRequest2,"_blank");
}
}
Grand-AngleExpand:
FlashRedirection
Clicktag:Pleaseincludethefollowingactionscriptonthemainstage:
AS2:
on(release){getURL(_root.clickTag,'_blank');}
AS3:
buttonTag.buttonMode=true;
buttonTag.addEventListener(MouseEvent.CLICK,redirect);
functionredirect(e:MouseEvent):void{
varurl:String="http://www.melty.fr";
if(loaderInfo.parameters["clickTag"]){
url=loaderInfo.parameters["clickTag"];
}
//PourIE
if(ExternalInterface.available)
{
varuserAgent:String=ExternalInterface.call('function(){returnnavigator.userAgent;}');
//Enlocal,quanduserAgentestinexistant
if(userAgent==null){
userAgent="local";
}
if(userAgent.indexOf("MSIE")>=0){
ExternalInterface.call('window.open',url,"_blank");
}else{
varurlRequest:URLRequest=newURLRequest(url);
navigateToURL(urlRequest,"_blank");
}
}
else
{
varurlRequest2:URLRequest=newURLRequest(url);
navigateToURL(urlRequest2,"_blank");
}
}