In Flash, from the menus choose File > Publish Settings
On the
HTML tab, in WindowMode choose Transparent Windowless (This means your
movie will show on the page with a transparent background, like the example
above, not in its own window.)
Click Publish.
Clicking Publish will create two more
files in the same folder where you saved your original .fla movie.
The .fla file is the original movie created with Flash.
The .swf file is the actual published movie ready to be inserted
on a page.
The .htm file is a web page showing your movie.
You must upload both the .htm and the .swf files to your web.
You can copy and paste the code from the .htm page to a different
web page if you want your movie as part of an existing or different
page. Make sure you include the .swf file with your web.
Remember that not everyone has the Flash player installed.
Include a link for those users who want to download it.
If you have a .swf file but don't have
the associated code to put it on a webpage, you can copy and paste
the following code. Parts in blue need to be
altered to suit your movie.