D & M Computer Service
 

News

Navigation Hosting Plans Domain Registration Software e-Commerce Hosting Plans Contact D & M Computer Service

Flash Tutorials

Flash Tutorial
Why use Flash?
Software for Flash Applications
Export Flash Movie to .swf File
Flash HTML Settings
Other Tutorials

Flash Tutorial - Flash Export

How to Export Flash Files?

After creating a Flash movie you choose File > Save As from the top menu to save your movie. Save the file as "Somefilename.fla".

How to Embed Flash Movie into an HTML Page?

To embed the Flash movie you have just made into an HTML page, you should go back to your Flash program and do the following steps:

Arrow Step 1

Choose File > Open. Open a Flash movie you have created.

Flash movie

Arrow Step 2

Choose File > Export Movie.

Export Movie.

Arrow Step 3

Name the file "somefilename.swf". Choose the location where the file is to be stored (in your Web folder). Click OK.

Name the file

Arrow Step 4

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="somefilename.swf" width="550" height="400">  
   </embed> 

</object>

insert your Flash movie

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.

Arrow Step 5

Type in the address of the HTML file in your browser and look at your first Flash movie.

Let the Flash Program do the Work

The code above is the absolute minimum code to embed Flash movies in HTML pages. It is not recommended to use the minimum code. There should be a few more attributes added:

  • classid is an attribute to the <object> tag. It tells Internet Explorer to load the ActiveX plug-in if it is not installed
  • pluginspage is an attribute to the <embed> tag. It displays a link to the Shockwave download page if Netscape does not have it

The Flash program can add these attributes for you:

Arrow Step 1

Choose File > Publish. Flash will now create the <object>, <param>, and <embed> tags for you. It will also create the classid and pluginspage attributes.

Publish.

Arrow Step 2

Open the HTML document that Flash created, view the HTML source and copy the code into your HTML page where you want your Flash movie.

Arrow Step 3

Be sure that you have the "somefilename.swf" in your Web folder.

Arrow Step 4

Type in the address of the HTML file in your browser and look at your first Flash movie.

Other helpful Links



Web Design only

Business Marketing Internet Marketing
Web Hosting only Search Engine Optimization Design Site yourself
Web Design & Hosting e-Business Solutions Web Application Development
e-commerce Solution Website Builder FAQ's Tutorials



RJL International Inc.

Here are a few qualifications
our design team has to offer.
Certified International Webmasters

Dreamweaver certified
Joomla Designer
Certified Search Engine Optimization
Certified in Anti Spam protection
Cold Fusion Designers


Discover Card
Visa Card
Master Card

Copyright © 1997 - 2008 D & M Computer Service. All rights reserved RJL International, Inc.

Navigation sitemap Privacy Terms Software Domains D&M Computer Service Hosting