- init(position:String, minX:Number, maxX:Number, minY:Number, maxY:Number, connection_name:String)
- position: Either 'top' or 'bottom'.
- min/max values: These values specify the minimum and maximum coordinates that define the video playback area.
- connection_name: The local connection name to communicate back to the Ad Player.
- show()
- hide()
Creating Overlay Banners
Overlay Ads provide a way of inviting the user to watch a video ad or visit an advertiser's site. The Invitation is a Flash SWF that contains specific code to communicate with the Spotxchange Ad Player. It tells the Ad Player when the user clicks to accept the invitation or reject it (closing the SWF). Here is what an Overlay Invitation looks like during video playback.
Loading...
|
|
Please test your invitation SWF here. This will test clicking on the invitation to accept or reject,
animating when show() is called, and animating when hide() is called. URL: Status: |
Before the Overlay Invitation is displayed, the Ad Player tells the invitation where the video display area is, how to place itself, and how to communicate back to the Ad Player. This is the video display area:

The invitation must give the Ad Player access to itself and provide these functions for controlling it:
The invitation must follow these rules:
- Dimensions must be 300 pixels wide by 50 pixels high.
- Audio is prohibited.
- A close button must be implemented and be clearly visible.
- All animation and visual components must stay within the upper or lower 50 pixels of the viewing area depending on whether the invitation is placed on the top or the bottom.
Please use this example invitation (Flash 8 document) as a starting point. It contains all of the necessary code to communicate with the Ad Player.
