Adform strongly recommends using the Adform Creative Toolkit extension for creating Expanding banners. More info can be found here.

However, it's also possible to create Expanding banners without the Adform Toolkit, below you will find detailed instructions on this.

Previews

Single Expand:

Expanding from two files:

Examples: 

Expanding from two files: 

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 the Adform Creative Toolkit. For more info please follow here.

Creating Expanding banners from Two Files

1. A banner should have one normal size file and one expanded size file, and two backup gif’s in the 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 a banner to expand/collapse on a 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 the Flash 8 or higher version. There might be pop-up blocker problems when interacting with the lower version banners in the Internet Explorer 7.

5. Test the Flash banner in the live web environment using Adform Creative Test Module.