Inserting Flash into HTMLWritten by Brad Markle
Click here to watch a video tutorial
For more information on streaming audio and video, please visit our other article:
How to insert your Flash movies into your website
After creating a Flash movie you normally go to File ~>Save As from the top menu to save your movie. Save the file as "yourmovie.fla".
To embed the Flash movie into an HTML page, you should go back to your Flash progam and:
- choose file ~> Open the Flash movie
- choose file ~> Export Movie
- Name the file "yourmovie.swf". Choose the location where the file is to stored (in your Web folder) and click OK.
- Open the HTML page where you want to insert your Flash movie. Insert this code:
<object width="550" height="400">
<param name="movie" value="somefilename.swf">
<embed src="/support/somefilename.swf" width="550" height="400">
The width and height tags specify the frame of the movie, which you will need to adjust accordingly. This is the minimum code you need to embed a Flash movie in a browser. A broken icon will appear on the Web page if the user does not have the Flash plug-in installed.
More information on Flash streaming can be found on the Macromedia support site: