Instructions
1. Banner must have a close button, which executes the following JavaScript code:
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;
import flash.display.LoaderInfo;
ExternalInterface.call("ADFClose",LoaderInfo(this.root.loaderInfo).parameters.adId);
2. You need to implement the clickTAG variable. Detailed instructions for clickTAG implementation can be found here.
3. 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.
4. Test the Flash banner in live web environment using Adform Creative Test Module.
Floating banners and Adform Synchronized ads
When 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.
Flash banner which calls Floating banner must have AdformCore component on the stage and button, which executes the specific JavaScript code. In order to download AdformCore component you should install "Adform Creative Toolkit".
Creating banner
Adform strongly recommends to use „Adform Creative Toolkit“ extension for creating banners. For opening this extenstion follow 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 banner which calls Floating ad without Adform Toolkit, just follow these steps:
1. When „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 following code should be assigned to button:
a) In case you are using ActionScript 2:
on(release) {
AdformCore.showFloating();
}
b) In case you are using ActionScript 3:
button.addEventListener(MouseEvent.CLICK, showFloatingHandler);
function showFloatingHandler(e:MouseEvent):void
{
AdformCore.showFloating();
}

