Flash Support Parameters

A Flash support is a multimedia object inserted in an HTML document. Although it can be applied to the entire Web site, the Flash support is usually applied for special effects, often spectacular, in a home page.

A Flash is designed using specialized software and can be read with a module associated to "Shockwave" browsers.

The Flash support inserts the EMBED bmp00006.gif and OBJECT button bmp00007.gif tags, each with its own parameters. The tag choice is in terms of the browser; you can always use both tags inside the same page:

bmp00006.gif Netscape uses the EMBED tag. You have access to these options when you insert an embedded module. To EMBED, all the attributes must be inside the tag marks.

For example:

<embed src="moviename.swf" width="100" height="100" play="true"

loop="true" quality="high"

pluginspage="http://www.macromedia.com/shockwave/download/

index.cgi/P1_Prod_Version=ShockwaveFlash">

</embed>

 

bmp00007.gif Internet Explorer uses the OBJECT tag. You have access to these options when you insert an ActiveX control. To use OBJECT, the main parameters must be inside the tag marks and the others in different tags.

For example:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100"

height="100" codebase="http://active.macromedia.com/flash4/cabs/

swflash.cab#version=4,0,0,0">

<param name="movie" value="moviename.swf">

<param name="play" value="true">

<param name="loop" value="true">

<param name="quality" value="high">

</object>

bmp00006.gif bmp00007.gif To insert a Flash animation that can be displayed by the two main browsers:

  1. First of all, insert the ActiveX control and define its parameters and values.

  2. On the edit window, place the pointer in front of the </OBJECT> end tag.

  3. Insert the embedded module for the animation.

bmp00007.gifTo insert a Flash Animation that can be displayed by Internet Explorer

  1. Place the cursor at the location where you want to insert the animation.

  2. Click on the button Active X Control and define its parameters and values.

  3. Enter a checkmark in the box Add Flash Parameters. The list of parameters found under the Parameters tab displays the Flash Object Parameters.

  4. You can add a parameter:

You can also modify the value of a parameter. Select the parameters from the list and click on the button Edit. In the Edit a value, dialog box, specify a new value and click on the button OK. To delete a parameter, select it from the list and click on the button Remove.

You can change the order in which the parameters are listed by clicking on the corresponding arrow to move it up or down.

  1. Click on OK.

For example:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100"height="100" codebase="http://active.macromedia.com/flash4/cabs/

swflash.cab#version=4,0,0,0">

<param name="movie" value="moviename.swf">

<param name="play" value="true">

<param name="loop" value="true">

<param name="quality" value="high">

<embed src="moviename.swf" width="100" height="100" play="true"

loop="true" quality="high"

pluginspage="http://www.macromedia.com/shockwave/download/index.cgi/p1_prod_version=shockwaveflash">

</embed>

</object>

 

To insert a Flash Animation that can be displayed by Netscape Communicator

  1. Open the Specialized tab, click on the button Hidden module .

  2. Enable the Support Flash box. The areas in the dialog box are enabled.

  3. In the Source text box. Meter the path and file name of the program. The file must have the SWF format.

  4. Define the properties of the Flash Object.

  5. Click on OK.

CuteHTML Pro inserts the following command:

<embed src="afile" type="application/x-shockwave-flash">

You can add options to the EMBED command.

Repeat infinitely

If you insert a check mark in this box, the file will play as long as the page is open.  This option adds the attribute loop="true".

Live Connection

If enabled, this option allows Java to start automatically when the FLASH animation is loaded when there is a link with a JavaScript in the document. The default value for this option is false. This option is not mandatory. This option adds the attribute srcswliveconnect="true".

Menu

This option defines the type of context menu (right mouse button) that is displayed for the animation. If this option is enabled, MENU takes the value true, and displays the entire menu; if this option is disabled (default), MENU takes the value false, and only displays the item which makes reference to FLASH. This option adds the attribute menu="value".

Plugins

The Plugins text box allows you to indicate the location from where the FLASH module must be loaded for its execution. This module must be transferred by visitors that do not have the necessary technology to read your page. This option is mandatory. This option adds the attribute pluginspage="http://www.domain.com".

Alignment

This list allows you to define the animation's alignment relative to the text.  This option adds the attribute salign.

Quality

The list available in this section allows you to indicate the element's quality level. You select this level in terms of the performance (speed) / graphic quality relationship that you want to attribute to the object. The higher the quality level, the slower the animation start time.

  • Auto high: gives equal weight to speed of execution and
    quality of animation.

  • High: favors quality of animation. This is the default option.

  • Auto low: favors execution speed and does not take quality of animation into account unless it's possible.

  • Low: favors execution speed.

This option adds the attribute quality="autohigh".

Scale

This option determines whether the animation will be scaled automatically
when it is displayed.

  • Show all: (default) This option displays the entire area of
    the animation keeping its original size. This option may cause scroll bars to appear.

  • No Border: This option automatically resizes the animation area in terms of the available display space while conserving the original proportions.

  • Exact fit: This option resizes the
    animation area in terms of the defined space. The image may be distorted.

This option adds the attribute scale="noborder".

Background Color

This button allows you to define the object's background color. This option adds the attribute bgcolor="#008000".

Width/Height

The dimensions entered here determine the object's surface area. To define the dimension as a percentage, place a check mark on the % box. These options add the attributes Width and Height.