Flash Schools and Flash Tutorials 3 – Flash Embedded in HTML

We have introduced several ways to create Flash SWF in the previous blog titled “Flash How To“, then what to do next? Scroll down and you will see the topic today – embed the created Flash SWF into an HTML webpage.

To embed the Flash movie you just made into an HTML page, go back to the Flash program where you initially created the Flash object, and then do the following steps:

Step 1: Open the Flash movie you have created and export it by renaming the Flash file “yourflashname.swf”, exit after saving it in your web folder.

Step 2: Open the HTML page where you want to embed this Flash movie and insert this code:

flash-embedded-in-html

Note: 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.

Note: In the code above there is both an “embed” tag and an “object” tag. This is because the “object” tag is recognized by Internet Explorer, and Netscape recognizes the “embed” tag and ignores the “object” tag.

Step 3: Open the HTML file in your browser and check your first flash movie online.

Step 4: (Optional) If you have problem embedding the direct Flash SWF file, try to convert SWF to video or other web-friendly formats, for example, AVI, FLV, MP4, GIF, etc. This indirect way is for easy embedding while retaining the original animation effects.

4 Comments

  1. […] Home > blog « Flash Schools and Flash Tutorials 3 – Flash Embedded in HTML […]

  2. guest says:

    An interesting blog wrote a post Flash and Video ” Blog Archive ” Flash Schools and Flash … about converter, discussing converter.

  3. guest says:

    Better the quality of content better your page will be shown in Google/Yahoo/Bing search results and more the chances that people who liked your post will link to you or share your article. Thus tremendous increase in traffic.

  4. guest says:

    Outstanding post however , I was wanting to know if you could write a litte more on this subject? I’d be very thankful if you could elaborate a little bit further. Many thanks!

Leave a Reply