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 and OBJECT button
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:
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.
<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>
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.
<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>
To insert a Flash animation that
can be displayed by the two main browsers:
First of all, insert the ActiveX control and define its parameters and values.
On the edit window, place the pointer in front of the </OBJECT> end tag.
Insert the embedded module for the animation.
To insert a Flash
Animation that can be displayed by Internet Explorer
Place the cursor at the location where you want to insert the animation.
Click on the button Active X Control and define its parameters and values.
Enter a checkmark in the box Add Flash Parameters. The list of parameters found under the Parameters tab displays the Flash Object Parameters.
You can add a parameter:
In the Name field under the Parameters tab, indicate the name of the parameter you want to add.
In the Value field, indicate a value for the parameter.
Click on the button Add to add it to the list.
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.
Click on OK.
<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
Open the Specialized tab, click on the button Hidden module.
Enable the Support Flash box. The areas in the dialog box are enabled.
In the Source text box. Meter the path and file name of the program. The file must have the SWF format.
Define the properties of the Flash Object.
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.
This option adds the attribute quality="autohigh". |
Scale |
This option determines whether the animation will be scaled automatically
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. |