Adform strongly recommends to use „Adform Creative Toolkit“ extension for creating Expanding banners. More info can be found here.
However, it's also possible to create Expanding banners without Adform Toolkit, below you will find detailed instructions on this.
Previews
Examples:
Instructions
Adform accepts two types of expanding banners:
- Single file expanding
- Expanding made Two files
Creating Single File Expanding banners
Single File expanding banners must be built with Adform Creative Toolkit. For more info please follow here.
Creating Expanding banners from Two Files
1. Banner should have one normal size file and one expanded size file and two backup gif’s in corresponding sizes, e.g. a 728x90 expanding banner consists of a 728x90 normal size file and a 728x300 expanded size file.
2. If you need banner to expand/collapse on specific action, you should call such functions:
Expand:
a) In case you are using ActionScript 2:
import flash.external.ExternalInterface;
this.expandButton.onRelease = function():Void
{
try
{
ExternalInterface.call('ADFExpand',_root.adId);
}
catch (e:Error)
{
}
};
b) In case you are using ActionScript 3:
import flash.external.ExternalInterface;
btn.addEventListener(MouseEvent.CLICK, onClick);
function onClick(e:MouseEvent):void
{
try{
ExternalInterface.call('ADFExpand',
LoaderInfo(stage.loaderInfo).parameters.adId);
}catch (e:Error) { };
}
Collapse:
a) In case you are using ActionScript 2:
import flash.external.ExternalInterface;
this.closeButton.onRelease = function():Void
{
try
{
ExternalInterface.call('ADFClose',_root.adId);
}
catch (e:Error)
{
}
};
b) In case you are using ActionScript 3:
import flash.external.ExternalInterface;
btn.addEventListener(MouseEvent.CLICK, onClick);
function onClick(e:MouseEvent):void
{
try{
ExternalInterface.call('ADFClose',
LoaderInfo(stage.loaderInfo).parameters.adId);
}catch (e:Error) { };
}
3. You need to implement the clickTAG variable. Detailed instructions for clickTAG implementation can be found here.
4. Banners should be compiled with Flash 8 or higher version. There might be pop-up blocker problems when interacting with lower version banners in Internet Explorer 7.
5. Test the Flash banner in live web environment using Adform Creative Test Module.

