Advertise on BSN - Flash Instructions
In order for your Flash banner ad to work correctly on the BSN web site, you must prepare it using the instructions that follow:
Instructions for Flash CS3
Instructions for Flash MX
Instructions for Older Versions of Flash |
| Flash CS3 Instructions |
|
Create a button or movie clip button
For more information on creating a button in Flash, see Create a button.
Add a script to the button
Executes when a user clicks the banner. You might use the getURL() function
to open a new browser window. Make sure url is NOT IN QUOTES.
Note: This script must be placed in an Action layer.
myButton_btn.onRelease = function(){
getURL(url, "_blank");
};
Please see the Adobe Help files for additional info.
|
| Flash MX Instructions |
- Create a new bottom layer; make it the full pixel size of the ad and fill it with the desired background color.
- Click once on the new layer to select it – then right click and choose ‘Convert to Symbol…’
The following dialogue box will be displayed:

- Give the Symbol a name (like Click Through) and then choose 'Button' for the Behavior. Hit OK.
- Down in the ‘Actions - Button’ section, go into the ‘Actions’ menu, then into the ‘Movie Control’ menu, then choose ‘on’ by double clicking.
- If the Event ‘Release’ is not checked, Check it.

- Still within the ‘Actions’ menu, go into the ‘Browser/Network’ menu and choose ‘getURL’ by double clicking.

- getURL has four components – URL, Expression, Window, and Variables.
- For URL enter the variable url.
- Check the Expression box next to the URL field.
- For Window select _blank from the drop down box.
- For Variables, leave ‘Don’t send’ selected.
Make sure url is not in quotes, as shown above.
|
| Instructions for Older Versions of Flash |
Follow these steps precisely to modify your flash file to support tracking clicks:
- From with Macromedia's flash editor, open your .fla file.
- With the mouse pointer, select the Frame or object that you would like to track the click on.
- From the Modify Menu, select Instance. The Instance Properties screen will appear.
- Select the Button symbol and select Button under behavior. The Actions tab should now appear.
- Click the Actions tab.
- Click the
button then select On MousEvent. On the right side next to Event" check the box Press.
- Click the
button once more and select Get URL.
- In the URL: box, enter "url" in lower case letters. Do NOT enter your company URL but rather the word "url".
- Next to Window: select "_blank". This is necessary to ensure the Click event jumps outside the IFRAME if the banner is being served in an IFRAME.
- Make sure Variables: is set to Don't Send.
- Click the
button on the right side of the URL: field and select Expression. Do not do the same for the box next to the Window field.

- Click the OK box to accept the changes.
- Proceed to publish or export your .SWF movie and upload the file to your ad server.
|
|