Embedding in Web pages

1 Create a flash movie. (shape tweening exercise)
2 Save movie in .fla (flash format).
3 Export your movie in swf (Shockwave format). FILE – EXPORT MOVIE - SWF

Earlier versions of Flash use different methods to embed your swf in html (see below).

Flash MX Method

4 From the Flash MX menus select File - Publish Preview - Html
Your swf should be displayed in a browser window.
5 View Source Code of the html file.
6 You can insert the Flash movie into a different web page by copying all the code between the object tags to the other web page.

Flash 3 Method

4 Close Flash
5 View your swf movie - drag your swf file onto the player SWFlSH32.exe to view.
6 Turn your movie into an self-contained projector file (.exe) file with
File- Create- Projector file
7 Start Aftershock. (web preparation program)
8 Load your flash movie
FILE ADD Shockwave
9 Use the Tab settings as required to configure how the movie will play.
10 Save file with .htm extension.
11 Test file in both browsers.
12 View source code and the file size of the .fla and .swf files.
13 Try simplifying code by removing the section <script>......</script>
What is the purpose of the <script> section ?
14 You can insert the Flash movie into a different web page by copying all the code between the object tags to the other web page.