Flash Spec & Guidelines

General Specifications

  • TVB.COM allows Flash versions 6 or above.
  • The Flash file size must not exceed 40KB.
  • Non-user-initiated audio is not permitted.
  • Sounds played on click is accpetable. All are subject to approval by TVB.COM.
  • For best results, we recommend having the button encompass the entire ad area throughout the entire timeline. Buttons must have the clickTag expression (see below) in place of embedded URLs.
  • The clickTag expression must be attached to a button object and called on Release.
  • Do not embed any URLs in the Flash file-include linking URLs in an email or other document.
  • Make sure the dimensions of the movie meet the specs for the ad you are creating.
  • Frame rate may not exceed 18 frames per second due to animation performance considerations. Banners that exceed 18 frames per second will not be accepted.
  • All Flash ads must be accompanied by both the SWF and FLA file as well as an alternate image (GIF or JPG) of the same dimensions. Images must meet the file size specs for that ad size.
  • TVB.COM makes use of HTML templates-there is no need to include HTML files with your submission.
  • Loading files from cross domains or external server is not permitted for security reasons.
  • All Creative is subject to approval by TVB.COM.
  • Acceptable approved venders for 3rd party ad serving are: DoubleClick, MediaMind.
  • The Flash SWF file CAN be published as compressed.
  • Loading external file is not permitted.
  • The use of Shared Objects is not permitted.
  • Accessing the Users Microphone or WebCam is not permitted.
  • Streaming video is allowed when using FLV streaming format. FLV files are treated the same as additional SWF files of no more than 4 @ 100k each. All additional files must be hosted by TVB.COM.

Note:

  • Cookies may not be set on the TVB.COM network except by parties with a third party ad serving agreement.

Banner Button Instructions

Flash MX(6) and 7

1> Create a new layer (Insert> Layer) above all the other layers. Select the first keyframe in that layer.

2> Using the Rectangle Tool, draw a rectangle that encompasses the entire area of the ad.

3> Using the Selection Tool, double-click on the rectangle then right-click and select Convert to Symbol.

4> Name the symbol and choose the “button” behavior.

5> Double-click on the rectangle again to edit it and drag the “UP” keyframe to the “HIT” frame.

6> Now select Edit>Edit Movie  to return to scene 1.

7> Your button will now look like a transparent, blue rectangle. 

Adding the ActionScript:

1> Select your button.

2> Right-click (control + click for Mac) on your invisible button and select Actions.

3> This will bring up the Actions dialog. Make sure it says “Object Actions” or “Actions - Button” at the top of the dialog and that you’re in normal mode.

4> From the 「+ 」menu, select Actions>if.
In Flash 6, this is under Actions>Conditions/Loops>if.
In the “Condition” field, type

5> Again, from the 「+ 」menu, select Basic Actions>Get URL.

6> In Flash 6 this is under Actions>Browser/Network>getURL.
7> In the URL slot, type clickTag. Check the Expression box (circled in red) and type _blank in the Window field.

Flash CS4/CS5

1> Create a new layer (Insert>Timeline>Layer) above all the other layers. Select the first keyframe in that layer.

2> Using the Rectangle Tool, draw a rectangle that encompasses the entire area of the ad.

3> Using the Selection Tool, double-click on the rectangle then right-click and select Convert to Symbol. Name the symbol and choose the “button” behavior.

4> Double-click on the rectangle again to edit it and drag the “UP” keyframe to the “HIT” frame. Now select Edit>Edit Document to return to scene 1. Your button will now look like a transparent, blue rectangle.

Adding the ActionScript:

1> Select your button and locate the Actions panel. If this panel is not open, select
2> Window>Actions. Make sure it says “Actions - Button” at the top of the panel.

3> Copy and paste the following into the Actionscript field:

  • For Actionscript 2.0 

    click the image to download the script

  • For Actionscript 3.0 

    click the image to download the script

 

 

 

updated at 2012.06.11