Data transmission between javascript forms

Source: Internet
Author: User

After FLASH is inserted in Dreamweaver, there are many control parameters. Click the parameter button in the lower right of the property panel to add the parameters and values. Everyone can control it freely,

The following is an excerpt from the Flash MX 2004 help document.

Parameters and attributes

The following tag attributes and parameters describe the HTML code created by the "publish" command. You can refer to this list when writing your own HTML for displaying Flash content. Unless otherwise specified, all entries apply to both the object tag and the embed tag. Optional entries are also listed here. Internet Explorer can recognize parameters used for object marking, While Netscape can recognize parameters used for embed marking. Attributes can be used for both object marking and embed marking. When customizing a template, you can use the template variables listed here to replace the corresponding values. See custom HTML publishing templates.

Note: The attributes and parameters listed in this section are specially displayed in lowercase letters to conform to the XHTML standard.

  Devicefont attributes/parameters

Value: true | false

Template variable: $ DE

Note:

(Optional) for static text objects that do not select the "device font" option, specify whether to still use the device font for painting (if the OS provides the required font ).

  Src Properties

Value: movieName.swf

Template variable: $ MO

Description: name of the SWF file to be loaded. Only applicable to embed.

  Movie Parameters

Value: movieName.swf

Template variable: $ MO

Description: name of the SWF file to be loaded. Only applies to objects.

  Classid attributes

Value: clsid: D27cdb6e-ae6d-11cf-96b8-444553540000

Description: ActiveX control that identifies the browser. The input value must be exactly the same as that shown above. Only applies to objects.

  Width attribute

Value: n or n %

Template variable: $ WI

Description: The application width is specified based on the pixel value or the percentage value of the browser window.

  Height attribute

Value: n or n %

Template variable: $ HE

Note: The application height is specified by the pixel value or the percentage value of the browser window.

Note: Flash applications can be scaled, so as long as the aspect ratio remains unchanged and play at any size, their quality will not decrease. (For example, the following dimensions have a Aspect Ratio of 4: 3: 640x480 pixels, 320x240 pixels, and 240x180 pixels .)

  Codebase attributes

Value: active.macromedia.com/flash7/cabs/swflash.cab?version=7,0, 0, 0

Specifies the position of the Flash Player ActiveX control so that the browser can automatically download the control before it is installed. The input value must be exactly the same as that shown above. Only applies to objects.

  Pluginspage attributes

Value: www.macromedia.com/shockwave/download/index.cgi? P1_Prod_Version = ShockwaveFlash

Specifies the position of the Flash Player Plug-in so that you can download the plug-in before it is installed. The input value must be exactly the same as that shown above. Only applicable to embed.

  Swliveconnect attributes

Value: true | false

Note: (optional) specifies whether the browser should start Java when the Flash Player is loaded for the first time. If this attribute is ignored, the default value is false. If javascript and Flash are used on the same page at the same time, Java must be in the running state, and the FSCommand () function can work. However, if you run javascript only to detect the browser or for other purposes unrelated to the fscommand () action, you can set SWLIVECONNECT to false to prevent Java from starting. When javascript and Flash are not used together, you can also set the SWLIVECONNECT attribute to true to force Java to start. Starting Java significantly increases the time required to start the SWF file. Therefore, this flag should be set to true only when necessary. Only applicable to embed.

You can use the fscommand () Action to start Java from an independent projection file.

  Play attributes/parameters

Value: true | false

Template variable: $ PL

Description: (optional) specifies whether the application starts playing when it is loaded in the browser. If your Flash application is interactive, you can click a button or execute some other tasks to start playing. In this case, you can set the play attribute to false to disable automatic playback of applications. If this attribute is ignored, the default value is true.

  Loop attributes/parameters

Value: true | false

Template variable: $ LO

Note: (optional) Specifies whether to play the Flash content repeatedly or stop it after it reaches the last frame. If this attribute is ignored, the default value is true.

  Quality Attributes/parameters

Value: low | medium | high | autolow | autohigh | best

Template variable: $ QU

Description: (optional) specifies the offset level used during application playback. This is because the faster processor needs to smoothly process each frame of the SWF file before presenting them to the viewer's screen, therefore, you need to select a value based on the speed or appearance:

"Low" gives playback speed precedence over appearance and never uses the anti-aliasing function.

"Autolow" gives priority to speed, but it also improves the appearance as much as possible. When playback starts, the anti-aliasing function is disabled. This function is enabled if Flash Player detects that the processor can process the anti-aliasing function.

"Autohigh" focuses on playback speed and appearance at the beginning, but sacrifices the appearance to ensure playback speed when necessary. At the start of playback, the feature is enabled. If the actual frame rate falls below the specified frame rate, the anti-aliasing function is disabled to increase the playback speed. You can use this setting to simulate the "" command in Flash ("View"> "Preview mode"> "").

"Medium" will apply some anti-aliasing functions, but will not smooth the bitmap. The image quality generated by this setting is higher than the image quality generated by the "Low" setting, but lower than the image quality generated by the "High" setting.

"High" gives the appearance a precedence over playback speed, and it always applies the anti-aliasing function. If the SWF file does not contain an animation, the bitmap is processed smoothly. If the SWF file contains an animation, the bitmap is not processed smoothly.

"Best" provides the Best display quality, regardless of playback speed. All outputs are de-sawtooth and all bitmaps are processed smoothly.

If the quality attribute is ignored, the default value is high.

  Bgcolor attributes/parameters

Value: # RRGGBB (hexadecimal RGB value)

Template variable: $ BG

Description: (optional) specifies the background color of the application. This attribute is used to overwrite the background color settings specified in the Flash SWF file. This attribute does not affect the background color of the HTML page.

  Scale attributes/parameters

Value: showall | noborder | exactfit

Template variable: $ SC

Note: (optional) when the width and height values are percentages, define how the application is placed in a browser window.

"Showall" (default) enables the entire Flash content to be displayed in the specified area without being distorted, while maintaining its original aspect ratio. The border may appear on both sides of the application.

"Noborder" scales the Flash content to fill the specified area without being distorted. It will keep the application in the original aspect ratio, but may crop it.

"Exactfit" displays the entire Flash content in the specified area, but does not try to maintain the original aspect ratio. It may be distorted.

If this attribute is ignored (and the width and height values are percentages), the default value is showall.

  Align attributes

Value: Default | L | R | T | B

Template variable: $ HA

Description: Specify the align values marked by object, embed, and img, and determine how to place the Flash SWF file in the browser window.

By default, the application is displayed in the center of the browser window. If the browser window is smaller than the application, the edge is cropped.

L, R, T, and B Let the application align along the left, right, top, and bottom edges of the browser window respectively, and cut the remaining three sides as needed.

  Salign Parameters

Value: L | R | T | B | TL | TR | BL | BR

Template variable: $ SA

(Optional) specifies the position of the scaled Flash SWF file in the area defined by the width and height settings. For more information about these conditions, see scale attributes/parameters.

L, R, T, and B Let the application align along the left, right, top, and bottom edges of the browser window respectively, and cut the remaining three sides as needed.

TL and TR align the application with the upper-left corner and upper-right corner of the browser window respectively, and crop the bottom edge and the remaining right or left edge as needed.

BL and BR align the application with the lower left and lower right corner of the browser window respectively, and crop the top and remaining right or left edges as needed.

If this attribute is ignored, the Flash content is displayed in the center of the browser window.

  Base attribute

Value: Basic directory or URL

Description: (optional) specifies the basic directory or URL used to parse all relative path statements in the Flash SWF file. This attribute is useful if the SWF file is stored in a directory different from other files.

  Menu attributes/parameters

Value: true | false

Template variable: $ ME

Note: (optional) specifies the menu type that will be displayed when the audience right-click (Windows) in the browser or press and hold the Command key to click (Macintosh) the application area.

"True" displays the complete menu, allowing you to use various options to enhance or control playback.

"False"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.