Collection of Flash Param properties and properties of the detailed _flash tutorial
Source: Internet
Author: User
About Flash Param properties and properties of the detailed
<object classid= "clsid27cdb6e-ae6d-11cf-96b8-444553540000" codebase= "http://download.macromedia.com/pub/ shockwave/cabs/flash/swflash.cab#version=6,0,29,0 "width=" 580 "height=" >
<param name= "_cx" value= "10372" >
<param name= "_cy" value= "2355" >
<param name= "Flashvars" value= "-1" >
<param name= "Movie" value= "swf.swf" >
<param name= "SRC" value= "1.swf" >
<param name= "wmode" value= "Transparent" >
<param name= "Play" value= "-1" >
<param name= "Loop" value= "-1" >
<param name= "Quality" value= "High" >
<param name= "Salign" value>
<param name= "menu" value= "0" >
<param name= "Base" value>
<param name= "allowscriptaccess" value= "Always" >
<param name= "Scale" value= "ShowAll" >
<param name= "Devicefont" value= "0" >
<param name= "Embedmovie" value= "0" >
<param name= "bgcolor" value>
<param name= "Swremote" value>
<embed src= "1.swf" width= "580" height= "quality=" High "pluginspage=" http://www.macromedia.com/go/ Getflashplayer "type=" Application/x-shockwave-flash "wmode= Transparent" menu= "false" ></embed>
</object>
Parameters and properties
The following markup properties 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 stated, all entries apply both to object tags and embed tags. Optional entries are also listed here. Internet Explorer recognizes the parameters used for the object tag, while Netscape recognizes the parameters for the embed tag. Properties can be used both for object tags and for embed tags. When customizing a template, you can replace the corresponding value with the template variables listed here. See Customizing HTML Publishing Templates.
Note: The properties and parameters listed in this section are deliberately displayed in lowercase letters to conform to the XHTML standard.
Devicefont Properties/Parameters
Value: TRUE | False
Template variables: $DE
Description
Optionally, for static text objects that do not have the Device Font option selected, specify whether the device font is still being drawn (if the operating system provides the desired font).
SRC attribute
Value: moviename.swf
Template variables: $MO
Description: Specifies the name of the SWF file to load. Applies only to embed.
Movie Parameters
Value: moviename.swf
Template variables: $MO
Description: Specifies the name of the SWF file to load. Applies only to object.
ClassID Property
Value: clsid:d27cdb6e-ae6d-11cf-96b8-444553540000
Description: Identifies the browser's ActiveX control. The value entered must be exactly the same as the above display. Applies only to object.
Width Property
Value: N or n%
Template variables: $WI
Description: Specifies the width of the application as a pixel value or as a percentage of the browser window.
Height property
Value: N or n%
Template variables: $HE
Description: Specifies the height of the application as a pixel value or as a percentage of the browser window.
Note: Because Flash applications are scalable, their quality will not degrade as long as the aspect ratio remains unchanged, regardless of the size of the playback. (for example, the aspect ratios for the following dimensions are 4:3:640 x 480 pixels, 240 pixels x and 180 pixels.) )
CodeBase Property
Value: active.macromedia.com/flash7/cabs/swflash.cab#version=7,0,0,0
Description: Identifies the location of the Flash Player ActiveX control so that the browser can download it automatically when the control is not installed. The value entered must be exactly the same as the above display. Applies only to object.
Pluginspage Property
Value: Www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash
Description: Identifies the location of the Flash Player plug-in so that the user can download it when the plugin is not already installed. The value entered must be exactly the same as the above display. Applies only to embed.
Swliveconnect Property
Value: TRUE | False
Description: (optional) Specifies whether the browser should start Java the first time the Flash Player is loaded. If this property is omitted, the default value is False. The Fscommand () function works if both JavaScript and Flash,java on the same page must be in a running state. However, if you run JavaScript just to detect the browser or for other purposes unrelated to the Fscommand () action, you can prevent Java startup by setting the Swliveconnect to False. When JavaScript and Flash are not used together, you can also force Java startup by explicitly setting the Swliveconnect property to True. Starting Java significantly increases the time required to start the SWF file, so you should set this tag to true only if necessary. Applies only to embed.
Use the Fscommand () action to start Java from a stand-alone show file.
Play Properties/Parameters
Value: TRUE | False
Template variables: $PL
Description: (optional) Specifies whether the application starts playing when it is loaded in the browser. If your Flash application is interactive, you can have the user start playing by clicking the button or performing some other task. In this case, setting the play property to false prevents the application from starting automatically. If this property is omitted, the default value is true.
Loop Properties/Parameters
Value: TRUE | False
Template variables: $LO
Description: (optional) Specify whether the Flash content is unlimited repeat playback or stop after it reaches the last frame. If this property is omitted, the default value is true.
Quality Properties/Parameters
Value: Low | Medium | High | Autolow | Autohigh | Best
Template variables: $QU
Description: Optionally specifies the anti-aliasing level that is used during application playback. Because anti-aliasing requires a faster processor to smooth each frame of the SWF file before it is rendered to the audience screen, you need to select a value based on whether you want to optimize the speed or the appearance of the image:
Low makes playback speed take precedence over appearance, and never uses anti-aliasing.
"Autolow" gives priority to speed, but it also improves appearance as much as possible. Anti-aliasing is turned off when playback begins. If Flash Player detects that the processor can handle anti-aliasing, it opens the feature.
"Autohigh" starts with both playback speed and appearance, but sacrifices the appearance to ensure playback speed if necessary. Anti-aliasing is turned on when playback begins. If the actual frame frequency falls below the specified frame rate, anti-aliasing is turned off to improve playback speed. Use this setting to simulate the anti-aliasing command in Flash (View > Preview mode > Anti-aliasing).
"Medium" applies some anti-aliasing, but does not smooth the bitmap. This setting generates an image quality that is higher than the "low" setting, but is less than the image quality generated by the "high" setting.
High makes the appearance take precedence over playback speed, and it always applies anti-aliasing. If the SWF file does not contain animations, the bitmap is smoothed and the bitmap is not smoothed if the SWF file contains animations.
Best provides the optimal display quality without regard to playback speed. All output is anti-aliasing, and all bitmaps are smoothed.
If you omit the quality property, the default value is high.
BgColor Properties/Parameters
Value: #RRGGBB (hexadecimal RGB value)
Template variables: $BG
Description: (optional) Specifies the background color of the application. Use this property to overwrite the background color settings specified in the Flash SWF file. This property does not affect the background color of the HTML page.
Scale Properties/Parameters
Value: ShowAll | Noborder | Exactfit
Template variables: $SC
Description: (optional) defines how the application is placed in the browser window when the width and height values are percentages.
The ShowAll (default) causes the entire Flash content to be displayed in the specified range without distortion, while maintaining its original aspect ratio. The border may appear on both sides of the application.
"Noborder" zooms in on the contents of the Flash to fill the specified area without distortion, which causes the application to maintain the original aspect ratio, but it is possible that some cropping will occur.
Exactfit makes the entire Flash content appear in the specified range, but does not attempt to maintain the original aspect ratio. may be distorted.
If this property is omitted (and the width and height values are percentages), its default value is ShowAll.
Align property
Value: Default | L | R | T | B
Template variables: $HA
Description: Specifies the align value of the object, embed, and IMG tags, and determines how to place the Flash SWF file in the browser window.
Default causes the application to be centered in the browser window, cropping the edge if the browser window is smaller than the application.
L, R, T, and B align the application along the left, right, top, and bottom edges of the browser window, and crop the remaining three edges as needed.
Salign parameters
Value: L | R | T | B | TL | TR | BL | Br
Template variables: $SA
Description: (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 Properties/Parameters.
L, R, T, and B align the application along the left, right, top, and bottom edges of the browser window, and crop the remaining three edges as needed.
TL and TR align the application with the upper-left and upper-right corners of the browser window, and crop the bottom and left edges as needed.
BL and BR align the application with the lower-left and lower-right corners of the browser window, and crop the top and left edges as needed.
If this property is omitted, the Flash content is centered in the browser window.
Base Property
Value: Base directory or URL
Description: (optional) specifies the base directory or URL used to resolve all relative path statements in the Flash SWF file. This property is useful if the SWF file is saved in a different directory than your other files.
Menu Properties/Parameters
Value: TRUE | False
Template variables: $ME
Description: (optional) specifies the type of menu that will be displayed when the audience right-clicks (Windows) in the browser or while holding down the Command key click (Macintosh) application zone.
True displays the complete menu, allowing the user to enhance or control playback with various options.
"False" displays a menu that contains only the "About Macromedia Flash Player 6" option and the "Settings" option.
If this property is omitted, the default value is true.
Wmode Properties/Parameters
Value: Window | Opaque | Transparent
Template variables: $WM
Description: (optional) enables you to use the features of transparent Flash content, absolute positioning, and layered display in Internet Explorer 4.0. This tag/property is only valid in Windows with the Flash Player ActiveX control.
Window plays the application on a Web page using the movie's own rectangular window. "Window" indicates that the Flash application has no interaction with the HTML layer and is always at the top level.
Opaque causes the application to hide all the content that is behind it on the page.
"Transparent" enables the background of an HTML page to be displayed through all transparent portions of the application, which may degrade animation performance.
Both "Opaque windowless" and "transparent windowless" can interact with the HTML layer and allow the layers above the SWF file to obscure the application. The difference between the two options is that "transparent" allows transparency, so if a portion of the SWF file is transparent, the HTML layer underneath the SWF file can be displayed through that section.
If this property is omitted, the default value is Window. Applies only to object.
allowScriptAccess Properties/Parameters
Value: Always | Never | Samedomain
Description: Use allowScriptAccess to enable the Flash application to communicate with the HTML page that hosts it. This parameter is required because the Fscommand () and GetURL () actions may cause JavaScript to use the permissions of the HTML page, which may differ from the permissions of the Flash application. This has an important relationship to cross-domain security.
Always allows scripting operations to be performed at any time.
Never prevents all scripts from performing operations.
Samedomain allows script operations to be performed only when the Flash application comes from the same domain as the HTML page.
The default values used by all HTML publishing templates are samedomain.
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.