Flash Tutorials - Herong's Tutorial Examples - v3.03, by Dr. Herong Yang
Displaying Images as "embed" Elements - Example
This section provides a tutorial example on how to display images using 'embed' elements.
One simple use of <embed> elements is to include images into HTML documents. To show you how to do this, I wrote the following tutorial example, embed_gif.html:
<html><body> <!-- embed_gif.html - Copyright (c) 2014, HerongYang.com, All Rights Reserved. --> <p>1. Image with "embed[@src]":</p> <table border="1" cellpadding="0" cellspacing="0"> <tr><td> <embed src="yahoo.gif"/> </td></tr> </table> <p>2. Image with "embed[@src and @type]" attributes:</p> <table border="1" cellpadding="0" cellspacing="0"> <tr><td> <embed src="yahoo.gif" type="audio/x-wav"/> </td></tr> </table> <p>3. Image with "embed[@src and @type and @width and @height":</p> <table border="1" cellpadding="0" cellspacing="0"> <tr><td> <embed src="yahoo.gif" type="image/gif" width="100" height="100"/> </td></tr> </table> </body></html>
In this example, I created 3 tests with 3 <object> elements to test 4 attributes: "src", "type", "width" and "height":
If you want to test this example yourself, you need to save the image below as yahoo.gif:
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