[MWForum]transition from page to page
Wendy Petti
mwforum@lists.mathcats.com
Tue, 17 Feb 2004 23:06:27 -0500
Do these really need to be separate pages in the project, or can you save
them as external GIF or JPEG files (stored in the same folder as the MW
project) and then load them with the LOADPICT command? I used to do such
slideshows with my students a lot, and we often used a slider to control the
speed of the slideshow. If you have animated turtles on each page, this
strategy wouldn't work. But it sounds as if you are only pausing 2/10 of a
second per page, so I'm guessing each page is static.
If by "quicker" you are looking for a more automated way of making the code
for the slideshow, here is the code I used to generate a slideshow
automatically without having to type in file names:
* * * * *
to slideshow
if :no > count pictlist [make "no 1]
clean
loadpict item :no pictlist
cc show item :no pictlist
wait speed
make "no :no + 1
slideshow
end
* * * * *
then you'd make a button named SLIDESHOW and a slider called SPEED.
This project would load the picture files in alphabetical order.
Aside from ease of use, another advantage is that the project can
accommodate any number of "pages" (external graphics files) in this way.
Otherwise, some versions of MW have a 20-page maximum; I'm not sure if any
have higher limits.
It is also possible to automate the saving and naming of the graphics files.
My students used to generate a whole-class automatic slideshow within one
class period using the procedures below in conjunction with the procedures
above (and saving to a shared network folder):
* * * * *
[These procedures are used with 2 textboxes: MY.NAME (student types name in
this box at beginning of class) and PICTURE.NAME (an invisible textbox used
to compile the file name). A button named SAVE.THIS.PICTURE triggers the
automatic saving and naming of the file; the student only needs to click the
button.]
to startup
picture.name, ct
make "no 1
end
to Save.this.picture
picturename
savepict picture.name
announce [Your picture has been saved.]
end
to picturename
make "picture# 1 + count pictlist
picture.name, ct
insert :picture#
insert my.name
insert ".gif
end
[Note: If you would like the graphics file name to include a project name
along with the class and student name, you may include this command in the
PICTURENAME procedure, possible right above the INSERT MY.NAME command:
insert "projectname
(only replace the word PROJECTNAME with the desired word).]
* * * * *
Wendy Petti
MicroWorlds in Action
http://mia.openworldlearning.org
Math Cats
http://www.mathcats.com
> -----Original Message-----
> From: mwforum-admin@lists.mathcats.com
> [mailto:mwforum-admin@lists.mathcats.com]On Behalf Of Tony Wilson
> Sent: Tuesday, February 17, 2004 9:19 PM
> To: mwforum@lists.mathcats.com
> Subject: [MWForum]transition form page to page
>
>
> Dear All,
> Does anyone know a way to move from page to page quickly (we are
> doing clay animation and I am hoping to run a quick slideshow on MW2)?
> There may be many slides and I am looking for a quicker way of
> moving from page to page than
> page1 wait 2 page2 wait 2 page3 wait 2 ..
> Thanks
> Tony.