Have questions? Contact Us

For sale inquiries, please call
Toll Free 866.4AD.SPEED
International +1.408.454.6363

live chat with us

Testimonials

  • Having the demo out there was a brilliant idea, as I already feel comfortable with the user interface, so I can jump right in when I sign up!

    1001noisycameras

  • It is a daunting challenge trying to find a good banner management company and I feel strongly that after all my research I hit the jack pot with you. I am happy and proud to recommend you to other publishers.

    Courtney Caldwell
    RoadAndTravel

Help Center > Manage Your Account > Banner, Richmedia, and Text Ads

Expandable or rollover Flash ad

Expandable ads can occupy a smaller area (eg: 728x90) and once an action is activated, it could expand over the content to a larger area (eg: 728x240). You can serve expandable/roll-over ads within our system following these instructions:

Prepare the Flash file

Since this technique requires the Flash file to call an external JavaScript method, you need to have access to the source file (.FLA) and add the following. You need to adjust to the appropriate events for the creative (eg: on click/release or on rollover/rollout). The following example is for 728x90 expandable to 728x240 upon a mouseover event:

Create a RichMedia/HTML ad

After you have the Flash file ready, you can enter it into our system as a RichMedia/HTML ad (choose this type when you create a new ad). For this type, you can define the size, which is the smaller size before expanding, 728x90 in our example. The Flash ad will call the JavaScript code to resize the outside container upon a user interaction. You might need to adjust the JavaScript code for vertical or horizontal expansion. The destination URL should be included in the clickTAG parameter and our system will automatically track clicks. Once the ad is created and to generate the serving code, you need to choose the JavaScript-only serving code.

Sample Code

  • FLA source code:
    expandable-ad-300x250.fla
  • SWF file:
    expandable-ad-300x250.swf
  • A sample ad 300x250 expands to 300x450 upon rollover served live by AdSpeed:

Expanded Directions

The above code example expands to show additional content below the ad. You can easily modify it to expand from the left to the right by setting the width instead of the height attribute. Modifications are also required to expand to the left and expand up. Please contact us for the source code.

Events and Ad Interaction Tracking

You want to know how often visitors view and click on the button to download the streaming video, or to interact with the ad. You can track these post-view or view-through events with an event tracking URL. In order to get this tracking URL:
  • Click on the ad name
  • Copy the "Event Tracking URL" from the "Technical Details" section
  • Paste it into the appropriate location where the event actually occurs

Troubleshooting Tips

  • You need the Flash served within window mode (opaque or transparent) so it will not lay-over other content
  • If multiple expandable ads are on a single page, you need to use distinctive DIV containers so they are not in conflict with each other
  • The default value for "allowScriptAccess" has changed since Flash 8. You need "allowScriptAccess" to be "always" so that the JavaScript method is called properly.
  • Since we set wmode to "transparent", if your Flash file has a transparent background, the CSS for the container can set a specific background color.
PrintWas this information helpful? Yes / No

Other Articles in Banner, Richmedia, and Text Ads

Media formats, ad sizes, type Richmedia, Normal/External, textlink
Search Help Center

Cannot find an answer for your question? Ask our Customer Care team

Related Articles