Preview:

Examples:

Instructions

1. Banner must have a close button, which executes the following JavaScript code:

a) In case you are using the 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 the ActionScript 3:

import flash.external.ExternalInterface;
import flash.display.LoaderInfo;
ExternalInterface.call("ADFClose",LoaderInfo(this.root.loaderInfo).parameters.adId);

2. You need to implement the clickTAG variable. Detailed instructions for the clickTAG implementation can be found here.

3. 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.

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

Floating banners and Adform Synchronized ads

When a Floating banner is a member of Adform Synchronized ad, it is possible to call this Floating banner from another Flash banner which must also be the member of the same Synchronized ad.

The Flash banner that calls the Floating banner must have the AdformCore component on the stage and a button which executes a specific JavaScript code. In order to download the AdformCore component you should install "Adform Creative Toolkit".

Creating banner

Adform strongly recommends using Adform Creative Toolkit extension while creating banners. For opening this extenstion proceed to Window  Other Panels  Adform in your Flash API Top Menu. The manual of Adform Creative Toolkit can be found here.

However, you can create a banner which calls Floating ad without the Adform Toolkit, just follow these steps:

1. When the Adform Creative Toolkit is installed, all Adform components are placed in your Adobe Flash installation directory. You are able to see them by selecting Window → Components in the Top Menu.

2. Drag and drop the AdformCore component on the stage.

3. Then the following code should be assigned to the button:

a) In case you are using the ActionScript 2:

on(release) {
        AdformCore.showFloating();
}

b) In case you are using the ActionScript 3:

button.addEventListener(MouseEvent.CLICK, showFloatingHandler);
function showFloatingHandler(e:MouseEvent):void
{
    AdformCore.showFloating();
}