Slideshow with Revolution?

Sivakatirswami katir at hindu.org
Thu Apr 27 07:25:23 EDT 2006


Tom:

[[and all quicktime callback wizards.. help!]]

OK, its up here:

go url "http://www.himalayanacademy.com/runrev/stacks/yogaswami.rev"

All the set up controls are in a background group that is offset to  
the right. To see them just resize the stack window to very wide...

I just added an audio file picker and also a button  up for pointing  
the player to our webserver (docRoot is hirdwired in that   
script...to http://www.himalayanacademy.com, change it to your own  
web server)
=========

but, I'm still having problems with QT player callback  
implementation....even if the file reference is a local .mp3  
file ....or streamed from our web server. Either way it's broken here.

Klaus: are you *sure* all 11 of the callback messages were sent- 
implemented on your box?  They are not here.. did you see all 11  
slide transitions?

Here's what should happen:  there  is a title card and 10 card with  
images. After clicking "Begin" you should go thru all 11 cards and  
then arrive back at the title card... (Music continues for a long  
time after that, just stop it with the controller, or from msg box  
"stop player "music")

I set up 11 call backs at about 3000 1/600th's of a second  
intervals.  each one simply issues the message "goNext"  There is at  
most a 5 second interval between slides, most transitions are in less  
time. So going thru all 11 slides should take about a minute or two a  
the most, if it stops on one slide for more than 6 seconds before you  
get back to the title, you know callback messaging just died....

What actually happens: I click begin... all this does is "start  
player "music" the slide show should be driven by callbacks after  
that... and, whether the file is local or being streamed from the  
internet... the callbacks  "hang"--  in the IDE they hang after about  
4th or 6th callback message is sent, none after that. If I run it  
from a stand alone player, I may get as far as the 8th callback  
"goNext" implemented.  It's random... in both cases, the music  
continues, but no more callbacks messages are sent.

(Klaus, you were right, it doesn't need to be in the player script at  
all :-)... docs should say "msg is sent to the player, if not trapped  
there then passed up the msg hierarchy")

stack script

on goNext
   visual effect dissolve very fast
   go next card
end goNext

the callbacks of player "music"

3508,goNext
8286,goNext
11627,goNext
14132,goNext
16532,goNext
19119,goNext # it stops here! ouch
21160,goNext # all the following do not happen,
23527,goNext # the player just goes right thru these
25975,goNext # interval points and nothing happens
27750,goNext
29695,goNext


Hmm. I really hope this is not a bug... but with just a 4 line script  
and two value callback parameters, there is not a lot a of wiggle  
room to fix anything. I just had big dreams of stuff I could do with  
callbacks all turn pale blue.

Is there anyone lurking who works a lot with callbacks that can help us?

Sivakatirswami


On Apr 26, 2006, at 3:57 AM, Thomas McGrath III wrote:

> Sivakatirswami and Klaus,
>
> Do you have the sample stack online? I'd like to check it out.  
> Seems great so far.
>
> Tom




More information about the use-livecode mailing list