|
|
|
How do I
serve flash banners and detect if the browser supports flash? |
|
Click
here to use our Flash Code Generator Tool |
Follow these steps
precisely:
- If you would like to track clicks, you
must first prepare your SWF file so that the URL can be dynmically
passed to the flash SWF file. For
information on performing this step, click here.
- From within the Ban Man Pro
administrative management console, select the banners folder, then Create A new banner using the Advanced
option
- Select an Advertiser and Enter a
description
- Copy and paste your flash
code into the box labeled Ad Code.
A sample of code that works well is shown below. This code will detect whether or not Flash is installed and therefore the
user will not be prompted to download flash if it is not installed.
Rather, an image will be served instead.
In this code you must modify the flash file name from http://www.yourdomain.com/banner.swf
to the name of your flash file. This modification is made in two
locations. Please use the FULL URL to the SWF file. The ?url=[BanManProURL]
is used so that Ban Man Pro can track the clicks on the flash
file. You must program
your flash file so the clicks can be tracked by following these
directions.
You must also modify the width and height of your flash file in
two locations.
- Specify the target URL where users are
to be redirected to when clicking the image or flash file.
- Uncheck the "Use in Netscape 4"
box as different code must be specified for Netscape browsers.
Netscape requires the code be JavaScript only and it can not contain
any comment fields.

- Specify the code to be used for
Netscape. A sample that works great in Netscape is shown in the
text box below. You must edit this code to include your .SWF
file name as well as your alternate image for browsers that do not
have flash installed. Also specify the height and width in two
locations.
- Specify the Image source of an
alternative image to be used by browsers that do not support
JavaScript.
- Specify the width and height of the ad.
- Click Insert to insert the new banner.
- You are now ready to create a campaign
and begin serving your flash banner.
|
|