Flash Tutorials - Herong's Tutorial Examples - v3.03, by Dr. Herong Yang
Playing Flash as "embed" Elements - Example
This section provides a tutorial example on how to play Flash files, .swf files, using 'embed' elements.
Flash data files, .swf files, can also be displayed in Web pages as <embed> elements. To show you how to include Flash data files using the "src" attribute in an "embed" element, I wrote the following tutorial example, embed_swf.html:
<html><body> <!-- embed_swf.html - Copyright (c) 2014, HerongYang.com, All Rights Reserved. --> <p>1. Flash with "embed[@src]":</p> <table border="1" cellpadding="0" cellspacing="0"> <tr><td> <embed src="yahoo.swf"/> </td></tr> </table> <p>2. Flash with "embed[@src and @width and @height]":</p> <table border="1" cellpadding="0" cellspacing="0"> <tr><td> <embed src="yahoo.swf" width="217" height="85"> </td></tr> </table> <p>3. Flash with "embed[@src and @type and @width and @height]:</p> <table border="1" cellpadding="0" cellspacing="0"> <tr><td> <embed src="yahoo.swf" type="application/x-shockwave-flash" width="100" height="100"/> </td></tr> </table> </body></html>
In this example, I created 3 tests with 3 <embed> elements to test 4 attributes: "src", "type", "width" and "height":
If you want to see my test results, read next sections.
Table of Contents
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
►Using "embed" Elements for Flash Files
Displaying Images as "embed" Elements - Example
Displaying Images as "embed" Elements on Firefox 26
Displaying Images as "embed" Elements on IE 10
►Playing Flash as "embed" Elements - Example
Playing Flash as "embed" elements on Firefox 26
Playing Flash as "embed" Elements on IE 10
Playing Flash with Nested "object.embed" Elements
"mp3player" - MP3 Music Player
SWFObject - Hidding "object" behind JavaScript
SWFTools - SWF File Manipulation Tools
SWFC Script to Generate Flash SWF Files
ActionScript Embedded in SWFC Script
AS3Compile - ActionScript 3 Compiler