Hugeboard - meltygroup
Transcription
Hugeboard - meltygroup
Hugeboard(990x250)
Specs
Hugeboard:
Dimensions:970/990x250px
Allowedformats:jpg,gif,swf
Weight:80kbmax
HugeboardVideo:
Dimensions:970/990x250px
Playerformatallowed:swf
Videoformatallowed:flv
Playerweight:80kbmax
Videoweight:5momax
Videolength:Pasdelimite
HugeboardPushdown:
Dimensionsfolded:970/990x250px
Dimensionsmaxunfolded:970/990x440px
Allowedformats:swf
Weight:80kbmax
Recommandations
Hugeboard:
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
HugeboardVideo:
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
HugeboardPushdown:
-Itishighlyrecommendedtoimplementafirstautomaticexpansionwhendisplayed:thefoldingshouldthenbeautomaticaswell,afteravariable
duration,usuallythedurationoftheanimationwhentheformatisunfolded.
-thehugeboardpushdownneedstobeonlyone.swf,callingthefollowingJavascriptfunctions(viatheASfunctionExternalInterface):
●whenexpanding:
xDown()
●whenrefolding:
xUp()
-aclosebuttoniscompulsory
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
Hugeboard:
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");
}
}
HugeboardVideo:
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");
}
}
HugeboardPushdown:
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");
}
}