|
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 6
o 7. We recommend not to use the
function gotoAndPlay. Instead of it, you can use
nextFrame() and prevFrame().
Examples of fla and swf extensions for each case are attached.
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:
var url = "javascript:eplFPTExpandLayer(" + _root.bannerId
+ ");"; getURL(url);

It must have the
following ActionScript code in the rollOut event
when it is expanded:
var url = "javascript:eplFPTShrinkLayer("
+ _root.bannerId + ");"; getURL(url);

Example of file to download:
fla - swf
The implementation
in the e-planning interface must be done in the following way:
Click
in "add ad"
Choose
"banner flash" type
Write
the information asked
Click
on "Edit ad attributes"
Choose
on Display effect "Push content"
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:
var url =
"javascript:eplExpandLayer(" + _root.bannerId +
");"; getURL(url);

It must have the
following ActionScript code in the rollOut event
when it is expanded:
var url = "javascript:eplShrinkLayer("
+ _root.bannerId + ");"; getURL(url);

File example to download:
fla - swf
The implementation
in the e-planning interface must be done in the following way:
Click
on "add ad"
Choose
"banner flash" type
Write
the asked information
Click
on "Edit ad attributes"
Choose
on Display effect "Rollover"
Indicate size of the
unexpanded ad
|