Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML incorrect for earlier SWFs published from Flash 5

Dreamweaver & Flash

HTML incorrect for earlier SWFs published from Flash 5

by  raymondbirch  Posted    (Edited  )
Problem:
Users have the option in Flash 5 of publishing a Flash movie in an earlier SWF format such as Flash 4. However, when the HTML file created by Flash is previewed in Internet Explorer on Windows using the earlier Flash Player version, the browser will ask the viewer to download the Flash 5 Player.

Reason:
The HTML file published using Flash's default HTML publishing template (Flash Only) contains an incorrect cab file version in the <OBJECT> tag.

One Solution:
Change the HTML code for the individual HTML file.

1 Open the HTML file in Dreamweaver.
2 Search for the following block of HTML code:

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=[color red]5,0,0,0[/color]"
WIDTH=550 HEIGHT=400>
<PARAM NAME=movie VALUE="inport_set_property.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="inport_set_property.swf" quality=high bgcolor=#FFFFFF WIDTH=550 HEIGHT=400 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>

3 The specific text you will need to locate is in [color red]bold red text[/color] above. Change the text from 5,0,0,0 to 4,0,0,0.
4 Choose File > Save, to save your document.


Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top