Slideshow with Revolution?

Sivakatirswami katir at hindu.org
Wed Apr 26 07:57:22 EDT 2006


Additional note:

:-( player properties are not properly update if you set the player  
filename to

http://www.himalayanacademy.com/audio/natchintanai/Elil-Nallai_Pon- 
Sundara.mp3

(a beautiful Tamil song...)

I only get the first two callbacks, after that, they fail... so, the  
reference to player object must be local.

Sivakatirswami



On Apr 26, 2006, at 1:49 AM, Sivakatirswami wrote:

> Aum, Klaus:
>
> right, you got it...
>
> The callbacks of player "music"
>
> 3508,goNext
> 8286,goNext
> 11627,goNext
> 14132,goNext
> 16532,goNext
> 19119,goNext
> 21160,goNext
> 23527,goNext
> 25975,goNext
> 27750,goNext
>
>
> Script of player "Music"
>
> on goNext
>   nextCard
> end goNext
>
> Stack script:
>
> on nextCard
>   visual effect dissolve very fast
>   go next card
> end nextCard
>
>
> it works... marvelous, that's too easy (smile)
>
> Joao, I have sent you my stack off list... the player is set to a  
> URL on our site, so, enjoy the music (smile) (I will put this on  
> RevOnline tomorrow)
>
> Sivakatirswami
>
>
>
>
>
>
> On Apr 26, 2006, at 1:31 AM, Klaus Major wrote:
>
>> Hi Swami,
>>
>>> OK, Joao, Thomas, I could not resist... disclaimer... this is my  
>>> first attempt to use callbacks in a player and I don't have a  
>>> clue what I'm doing except to follow the docs as best one can...
>>>
>>> I loaded a small test stack with 11 images and set a background  
>>> group consisting of syncMusic fld, player (set to a .mp3 music   
>>> file ref) and button, way off to the right which will be out of  
>>> the window rect in the end and did as you said and started the  
>>> music and clicked the 'record" button to go next card, recording  
>>> the interval each time:
>>>
>>> I got this in the fld:
>>>
>>> 21525
>>> 30222
>>> ...
>>> 88907,goNext
>>> 91849,goNext
>>>
>>>
>>> and in  the player script I have.
>>>
>>> on goNext
>>>   go next card
>>> end goNext
>>>
>>> it doesn't work. I start the player and the "go next card" is not  
>>> implemented when the intervals are reached... what am I missing?
>>>
>>> Sivakatirswami
>>
>> does it work when you put the handler "goNext" into the stackscript?
>> Maybe it is just a message hierarchy problem?
>>
>>
>> Regards
>>
>> Klaus Major
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list