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 )




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:



splashpage





http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"

 ID=splashpage WIDTH=550 HEIGHT=400>
  
 
http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">






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 )




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 ''
   and 'src="foo_swf"', respectively.
 + use '' 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 Martijn Pieters

On Mon, Oct 16, 2000 at 11:06:53AM -0500, Fred Yankowski wrote:
> 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.

I once hacked together a simple 'Flash' object in a Python based Product.
It was just a class derived from the File object, which behaved very much
like the Image object. 

If called by DTML, it would return the appropriate HTML to include the
Flash animation in the page, whcih could be customized with a special
method very much like the '.image()' method on Image objects.

Alas, the class was written for a previous employer, and never released as
Open Source. But it was dead easy to create.

-- 
Martijn Pieters
| Software Engineer  mailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
-

___
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 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 )




[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 )