/
Flash Expandable implementation - version 8 / 9

Flash Expandable implementation - version 8 / 9

This document contains instructions for the expandable banner implementation, not only those that push the content of the page, but also those that expand over it. It is important to take into consideration that the banners must be published in Flash to obtain the file.swf in version 8 or 9. We recommend not to use the function gotoAndPlay. Instead of it, you can use nextFrame() and prevFrame().


A. Expandable that pushes the content


The format expandable that pushes the content must be done in the following way:

  • It must have the following ActionScript code in the rollOver event when it is unexpanded:

import flash.external.*;
ExternalInterface.call('eplFPTExpandLayer',_root.bannerId);


As well as direct to the frame where the expanded creativity is located.



  • It must have the following ActionScript code in the rollOut event when it is expanded:
import flash.external.*;
ExternalInterface.call('eplFPTShrinkLayer',_root.bannerId);


As well as direct to the frame where the unexpanded creativity is located.



File example to download: fla - swf


The implementation in the e-planning interface must be done in the following way:

  1.     Click in 'add ad'
  2.     Choose 'banner flash' type
  3.     Write the information asked
  4.     Click on 'Edit ad attributes'
  5.     Choose on Display effect 'Push content'
  6.     Indicate the size of the unexpanded ad

 

 

B. Expandable over the content


This expandable format must be done in the following way:

  • It must have the following ActionScript code in the rollOver event when it is unexpanded:
import flash.external.*;
ExternalInterface.call('eplExpandLayer',_root.bannerId);

As well as direct to the frame where the expanded creativity is located.




  • It must have the following ActionScript code in the rollOut event when it is expanded:
import flash.external.*;
ExternalInterface.call('eplShrinkLayer',_root.bannerId);

As well as direct to the frame where the unexpanded creativity is located.





Example of file to download: fla - swf


The implementation in the e-planning interface must be done in the following way:

  1.     Click on 'add ad'
  2.     Choose 'banner flash' type
  3.     Write the asked information
  4.     Click on 'Edit ad attributes'
  5.     Choose on Display effect 'Rollover'
  6.     Indicate size of the unexpanded ad

Related content