From September, Flash will no longer be supported by Chrome. Prepare for the shift towards HTML5 by visiting our Flash to HTML5 help page

Check it out!

Managing Banner Assets

Important: From the 1st of September 2018, Flash Assets will no longer be available. Starting from the 1st of January 2019, serving of Flash Assets will be stopped. For more information, please contact [email protected]


Banners loading some assets (videos, images, xml, swf, mp3) are two types:

a) loading externaly from other servers

Note: It is not allowed to use External URLs containing Adform domain (e.g.:

b) loading assets locally (these assets will be placed on Adform servers once they are uploaded to the system).

For both types you could add assets through Adform Creative Toolkit.

  • Follow to Content --> Assets

    Managing Assets

  • Browse for local asset or enter External asset's url:

    External -asset

  • If it's Video asset - follow to Video Banner specs
  • If it's other type - then you can get asset using such Action Script:

To get asset's URL a AdformAssetManager class should be used and getAsset(id, onSuccess[, onError]) function should be called with asset's id, a callback function which will get the URL and an optional function that will be called in case of an error.

	AdformAssetManager.getAsset(1, onSuccess, onError); //A call to the function with the asset id and two callbacks - on success and an optional on error encountered.

//onSuccess callback gets the url passed to it.

function onSuccess(url:String) {
   var _loader:Loader = new Loader(); //loading asset
   _loader.load(new URLRequest(url));

	//if something went wrong onError callback gets the error message passed to it.
function onError(error:Error) {

For retrieving all the list of assets use this ActionScript code:

AdformAssetManager.getAllAssets(getAllAssets, onAllAssetsError);

function getAllAssets(assets:Array) {
  for (var i:int = 0, length:int = assets.length; i < length; i++) {
    var asset:Object = assets[i];
    trace(; // Returns the id of the asset
    trace(asset.url); // Returns the URL of the asset

// The error callback is optional
function onAllAssetsError(error:Error):void {
  // Add logic to handle error

Recommended priority order of assets:

  • a) SWF files
  • b) Video
  • c) Images
  • d) MP3
  • c) XML

Download test banner which loads all types of assets example: