One thing about flash embedding-missing knowledge points

Source: Internet
Author: User
Something about flash embedding

<Object classid = "clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH = "100" HEIGHT = "100"

CODEBASE = "http://active.macromedia.com/flash5/cabs/ swflash. cab # version = 5, 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>

 

<Object classid = 'clsid: D27CDB6E-AE6D-11cf-96B8-444553540000'

Codebase = 'HTTP: // download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab?version=6, 170, 0'width = '2016'

Height = '000000'> <param name = 'movi' value = 'musicbox/FVMp3Player.swf '>
<Param name = 'quality' value = 'high'>
<Param name = 'wmode' value = 'transparent'>
<Param name = 'menu 'value = 'false'>
<Embed src = 'musicbox/FVMp3Player.swf 'width = '000000' height = '000000' quality = 'high'

Pluginspage = 'HTTP: // www.macromedia.com/go/getflashplayer' type = 'application/x-shockwave-flash' scale = 'actfit'>
</Embed>
</Object>

 

2. Edit Tag attributes

You can modify the values of "HEIGHT" and "WIDTH" based on the needs of your own Flash movies. The values can be either specific numbers or percentage values.

Change "moviename.swf" to the actual name of your Flash Movie.

After learning how to use the "OBJECT" and "EMBED" tags, we should consider why we need to use these two HTML tags. What are their specific functions? "OBJECT" tag

For Internet Explorer 2000 on Windows 9x/3.0/NT platform and the upgraded version of this browser, it is also applied to other frequently used browsers that support Flash ActiveX control.

See the browser. In the above example, the "classid" information must be shown as follows, which tells the browser where to find the Flash Player and automatically download the player. When you use Windows

When you view a webpage with Flash Content in Internet Explorer 2000 and an upgraded version of Internet Explorer 3.0 on the 9x/NT system platform, the browser automatically displays a dialog box asking

Whether the user installed Flash Player is willing to automatically install the player. After installation, the user can view the Flash content normally without restarting the browser.

The "EMBED" label is applicable to the Netscape Navigator 2.0 Browser or upgraded version. It can also be used for other browsing of Flash Player Plug-ins that support Netscape development.

. The content attribute in "pluginspage" sends a command to the browser to instruct the user to download the software without installing Flash Player. After the user downloads the player

Install and restart the Netscape Browser to view the Flash content normally.

To ensure that most browsers correctly play Flash movies, you should put the "EMBED" label in the "OBJECT" label as shown in the preceding example. In this way, ActiveX-enabled browsers can

The "EMBED" label in the "OBJECT" label is ignored. The Netscape Browser using the Flash plug-in and Microsoft's browser on the Macintosh system platform cannot recognize "OBJECT"

Tags, which read only the content in the "EMBED" tag.

Note that some HTML editors like Dreamweaver support both ActiveX objects and Netscape plug-ins. You do not need to use Dreamweaver for editing.

Consider too much content, but when using other editors, you 'd better check the HTML code to decide what information to enter in the HTML editor dialog box or configuration bar. To

EMBED the "EMBED" label into the "OBJECT" label. You also need to manually edit the source code. Although some editors allow you to preview the editing effect during editing

We recommend that you use Internet Explorer and Netscape Navigator to view the web page separately. Flash 4 and Flash 5 users can use flash

The layout function allows you to easily obtain the correct HTML webpage code and use the HTML editor to open the HTML webpage created by flash.

The code above is the most basic information required for playing Flash movies on your webpage, you can also use other attributes of "object" and "embed"

For more information about complex control, see other attributes of the "object" and "embed" labels.
 

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.