[Seaside] Re: Re: Re: SUPeriodical - changing the frequency on the
fsukhu at gmail.com
Thu Aug 24 01:03:57 UTC 2006
I have been experimenting with the suggestions that were made but I have had
What I am trying to do is have a continuously running slide show where the
user can adjust the speed of the playback. I have an html image displayed
and I use aSUPeriodical to update the image, in other words, when the
SUPeriodical is triggered I display the next slide (or image). This all
There is also aSUSlider that is used to control the playback speed. I would
like the frequency of the SUPeriodical to be controlled by the SUSlider.
This is the part that I cannot get working. The SUSlider works fine but I
cannot successfully modify the frequency of the SUPeriodical based on the
current value of the SUSlider.
Below is a crude picture of what the GUI to looks like:
| some jpg image | <--- image changes at the
frequency set by the Slider
+-----Slider ----+ <---- slider used to control
Is there any way to do what I want using Scriptaclous?
Thanks for any help you can provide.
"Lukas Renggli" <renggli at gmail.com> wrote in message
news:67628d690608190123l1023a263j94deffffcc34dd9a at mail.gmail.com...
> > The canvas API is html in Smalltalk syntax, scriptalicious is basically
> > this is my understanding of how things work from my own experience, I
> > could well be wrong.
> This is correct. Still it is possible to do what the original poster
> requested. The trick is to assign the periodical updater to a
> can be done like this:
> html periodical
> assignLocalTo: 'per'
> Now in a different rendering pass you can reference the existing
> periodical updater (and not creating a new one) by doing something
> like this:
> html periodical
> alias: 'per';
> Hope this helps.
> Lukas Renggli
More information about the Seaside