[Zope] how to include Flash/SWF objects in Zope website?

Bob Corriher bobc@p-wave.com
Mon, 16 Oct 2000 03:50:23 -0400


Hi Fred,

We use Flash in most of the sites we develop with Zope. We just upload
the swf file into a File object and call it from the index_html method
as follows:

<HTML>
<HEAD>
<TITLE>splashpage</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<CENTER>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"

 ID=splashpage WIDTH=550 HEIGHT=400>
 <PARAM NAME=movie VALUE="splashpage.swf"> <PARAM NAME=loop VALUE=false>
<PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="splashpage.swf" loop=false 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>
</CENTER>
</BODY>
</HTML>

The File object is named splaspage.swf, but the extension is not
necessary. It could have been called splashpage or anything else.

Hope this helps.


Bob Corriher
P-Wave Inc.