Flash Tutorial:

How to embed Flash SWF file to Microsoft Expression Web?

This tutorial will show you how to insert Flash SWF file to HTML page in Microsoft Expression Web.

Microsoft Expression Web HTML editor does not have a method to insert Flash SWF to HTML page automatically, it requires you to copy and paste the HTML code into the code section of your HTML page manually.

Step 1

Firstly, please generate Flash SWF file with your Flash maker software, for example, Aleo Flash Intro Banner Maker at http://www.aleosoft.com .

Secondly, please copy or save the SWF file to your website directory. You need to place the SWF file to the same directory as your HTML file which you want to embed the Flash.

Step 2

Launch Microsoft Express Web, open the HTML file which you want to insert the Flash. In the left bottom of the editor area, click the Split or Code, this will open an area where you can view the HTML code of this page.

Step 3

If you are using an application of Aleosoft.com, copy the HTML code provided by the software, then in Microsoft Expression Web, navigate the position where you want to insert the Flash, right click and select Paste, this will insert HTML code as following into your HTML page.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="480" height="300">
<param name="movie" value="flash.swf" />
<param name="quality" value="high" />
<embed src="flash.swf"
quality="high"
type="application/x-shockwave-flash"
width="480"
height="300"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

If you are not using Aleosoft.com, you may copy the code above, paste it in your Microsoft Expression Web. And you need to:

  1. Replacing "flash.swf" with your own Flash filename, there are two places in this code where you must do this.
  2. Replacing the value of "width" and "height" with that of your own Flash file. There are two places in this code where you must do this.

Step 4

In Microsoft Expression Web, save the HTML page, then choose menu "File" -> "Preview in Browser", view your HTML page with Flash inserted.

  1. If are previewing the File in Internet Explorer, you must click the yellow alert bar on top of the web page, and select "Allow Blocked Content", otherwise, the Flash will not display. This only happens when you are viewing web page from local computer, when viewing online, the yellow alert bar will not appear.
  2. If the Flash does not appear and you only view a blank area, that's because you do not place the Flash SWF file into the right directory, and the HTML page can not find the SWF file. You need to place the Flash SWF to the same directory as the HTML file which you want to insert the Flash.
  3. If you want to place the Flash SWF file to a subfolder of the folder where the HTML file exists, for example, a subfolder "images", you need to modify the HTML code above, change "flash.swf" to "images/flash.swf", and there are two places in this code where you must do this.

Step 5

Save and upload the HTML file and the Flash SWF file to your web server. And you must upload the Flash SWF file to your web server, same directory as the HTML file.

 

Home | Download | Order Now | Contact us | Links | What's New | Company | Privacy policy | Site Map
Copyrightę Aleosoft.com All Rights Reserved.