Inserting Flash into HTML
Written by Brad MarkleClick here to watch a video tutorial
For more information on streaming audio and video, please visit our other article:
Streaming Audio/Video on your Site
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">
</embed>
</object>
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:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_4150
Latest Questions
Need more Help?
Search
Ask the Community!
Current Customers
| Chat: | Click to Chat Now | E-mail: | support@InMotionHosting.com |
|---|---|---|---|
| Call: | 888-321-HOST (4678) | Ticket: | Submit a Support Ticket |

