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

2000-10-17 Thread Dennis Nichols

At 10/16/00 02:21 PM, Fred Yankowski wrote:
Thank you both for the help.  File objects are just the ticket (but it
turns out that Image objects work nearly as well).  For the record,
here's what I did:

In order to provide alternate content and/or detect which level of Flash 
player is present, you might want to also include the free Moock "fpi" 
(f.lash p.layer i.nspector) found at 
http://www.moock.org/webdesign/flash/detection/moockfpi/



--
Dennis Nichols
[EMAIL PROTECTED]


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




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

2000-10-16 Thread Fred Yankowski

I want to include some Flash/SWF objects in a Zope website, but I
don't see any built-in way to do this or any Product that would help.
Any suggestions?

If all else fails, I'm thinking about creating a simple product for
this, modeled on ImageFile.py.

-- 
Fred Yankowski   [EMAIL PROTECTED]  tel: +1.630.879.1312
Principal Consultant www.OntoSys.com   fax: +1.630.879.1370
OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




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

2000-10-16 Thread J. Atwood

You could just upload them into Zope and point to them.

http://www.gotschool.com (see flash demos).

It uploads as a "application/octet-stream"

I am sure you are talking about much more interaction.

J


 From: Fred Yankowski [EMAIL PROTECTED]
 Date: Mon, 16 Oct 2000 11:06:53 -0500
 To: [EMAIL PROTECTED]
 Subject: [Zope] how to include Flash/SWF objects in Zope website?
 
 I want to include some Flash/SWF objects in a Zope website, but I
 don't see any built-in way to do this or any Product that would help.
 Any suggestions?
 
 If all else fails, I'm thinking about creating a simple product for
 this, modeled on ImageFile.py.
 
 -- 
 Fred Yankowski   [EMAIL PROTECTED]  tel: +1.630.879.1312
 Principal Consultant www.OntoSys.com   fax: +1.630.879.1370
 OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




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

2000-10-16 Thread Jim Washington

N.B. You probably should add your Flash/SWF objects as "File" objects. 
DTML Method/Document objects can do amusing things with binary data, 
which is why there are "File" objects.

-- Jim Washington

J. Atwood wrote:

 You could just upload them into Zope and point to them.
 
 http://www.gotschool.com (see flash demos).
 
 It uploads as a "application/octet-stream"
 
 I am sure you are talking about much more interaction.
 
 J
 



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




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

2000-10-16 Thread Fred Yankowski

Thank you both for the help.  File objects are just the ticket (but it
turns out that Image objects work nearly as well).  For the record,
here's what I did:

 + create File object with id "foo_swf".
 + upload my local foo.swf file into foo_swf.
 + create DTML Method object "foo_flash" to provide all the HTML
   OBJECT and EMBED elements needed to wrap the flash object,
   referring to that flash object as 'PARAM NAME=movie VALUE="foo_swf"'
   and 'src="foo_swf"', respectively.
 + use 'dtml-var foo_flash' to display the flash object in a DTML
Document.


On Mon, Oct 16, 2000 at 02:10:03PM -0400, Jim Washington wrote:
 N.B. You probably should add your Flash/SWF objects as "File" objects. 
 DTML Method/Document objects can do amusing things with binary data, 
 which is why there are "File" objects.
 
 -- Jim Washington
 
 J. Atwood wrote:
 
  You could just upload them into Zope and point to them.
  
  http://www.gotschool.com (see flash demos).
  
  It uploads as a "application/octet-stream"
  
  I am sure you are talking about much more interaction.
  
  J

-- 
Fred Yankowski   [EMAIL PROTECTED]  tel: +1.630.879.1312
Principal Consultant www.OntoSys.com   fax: +1.630.879.1370
OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




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

2000-10-16 Thread Bob Corriher

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
TITLEsplashpage/TITLE
/HEAD
BODY bgcolor="#FF"
!-- URL's used in the movie--
!-- text used in the movie--
CENTER
OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-44455354"
 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=#FF
EMBED src="splashpage.swf" loop=false quality=high bgcolor=#FF
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.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )