Playing Flash as "object[@classid]"

This section describes how to use the 'classid' attribute in an 'object' element for IE and other Web browsers that support the use of Flash Player ActiveX to play Flash files.

Base on the document provided by Adobe at http://kb2.adobe.com/cps/415/tn_4150.html, the best way to use the "object" element to render Flash files on Internet Explorer 3.0 or later on Windows 9x/2000/NT/ME/XP platforms or any browser that support the use of the Flash Player ActiveX control, is to use the "classid" attribute.

Here are basic rules on how to use the "object" element properly to play a Flash file on IE:

Here is a sample code for playing the Yahoo! Flash file on IE based on above rules:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
   width="217" height="85" codebase=
"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
<param name="movie" value="yahoo.swf">
</object>

Note that Firefox does not support Flash Player ActiveX. So the above sample code will not work for Firefox browser. Read other chapters on how to resolve this issue.

Table of Contents

 About This Book

 Introduction of Adobe Flash

 Adobe Flash Player Plugin for Firefox

 Adobe Flash Player Plugin for Chrome

 Adobe Flash Player Plugin for Safari

 Adobe Flash Player ActiveX for IE

Using "object" Elements for Flash Files

 What Is "object" Element?

 Displaying Images as "object" Elements - Example

 Displaying Images as "object" Elements on Firefox 26

 Displaying Images as "object" Elements on IE 10

 Playing Flash as "object[@data]" - Example

 Playing Flash as "object[@data]" on Firefox 26

 Playing Flash as "object[@data]" on IE 10

Playing Flash as "object[@classid]"

 Playing Flash as "object[@classid]" - Example

 Playing Flash as "object[@classid]" on Firefox 26

 Playing Flash as "object[@classid]" on IE 10

 Playing Flash with Nested "object" Elements

 Playing Flash with a Single "object" Element

 Using "embed" Elements for Flash Files

 "mp3player" - MP3 Music Player

 SWFObject - Hidding "object" behind JavaScript

 Flash Player Projector

 SWFTools - SWF File Manipulation Tools

 SWFC Script to Generate Flash SWF Files

 ActionScript Embedded in SWFC Script

 AS3Compile - ActionScript 3 Compiler

 Adobe Flex SDK 4

 SWF File Structure and Tags

 SWF File Processing Rules

 SWF Files for Video and Audio Streams

 Outdated Tutorials

 References

 Full Version in PDF/EPUB