[Etoys] Etoy project in a Seaside image

Chris Cunnington brasspen at gmail.com
Fri Dec 19 21:00:44 EST 2008


OK, I see that an Etoys project not being able to enter a Seaside image is
not relevant here.

The way
http://www.squeakland.org/launcher/?http://www.squeakland.org/content/articles/attach/Sun%20Earth%20Moon.001.pr
 and http://squeak.educarex.es:9090/seaside/SBSuperSwikiserve Etoys are
different. The former combines a project file like Sun_Earth_Moon and some
kind of JavaScript file. I can take the URL used as the query parameter and
download that project. Something in the /launcher directory is making the
handshake with the plugin on my Mac. I guess that's where the JavaScript
file is.

educarex.es is using SS2. It's serving Etoys in a Seaside page. Great.
That's what I want. I want to make a page in Seaside, and put in an Etoy as
part of the page; not the whole page.

So the way to make a Seaside page serving an Etoy is in SS2, in a
renderContentMethod: somewhere. And I keep saying I want to put an Etoy in a
window, not the whole page. Are Etoys fixed at 1024x768, do they scale to
the space they're in, can they be made smaller?

OK, I found the method I need to examine.
SBSuperSwikiProjectLauncher>>renderContentOn: That seems to possess what I
need to learn how to put an Etoy in one of my Seaside images. Again though,
is 1024x768 the only size? I want an animation that is part of the picture,
not the whole picture.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/etoys/attachments/20081219/77eef5be/attachment.htm 


More information about the Etoys mailing list