player hints
Jon
jbondy at sover.net
Thu Jun 2 14:46:07 EDT 2005
Scott:
Excellent! I was wondering how to do something like that!
:)
Jon
Scott Rossi wrote:
>Recently, Jon wrote:
>
>
>
>>Is there any way to get a message from a Player every second, or so, so
>>that I can put up a message indicating the current position? I see the
>>Callbacks property, but I don't want to load it with 1000 entries if I
>>can avoid it. I suppose I could enter one value and then modify it when
>>the event occurs for the first time.
>>
>>
>
>Instead of using the player itself to do this, you could use a script. For
>example, in your card script, the following would show the elapsed seconds
>of playback:
>
> on trackPlayer
> put (the currentTime of player "myPlayer" div 600) into fld "timer"
> send "trackPlayer" to me in (1 - (the long seconds mod 1)) seconds
> end trackPlayer
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, Multimedia & Design
>-----
>E: scott at tactilemedia.com
>W: http://www.tactilemedia.com
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
>
More information about the use-livecode
mailing list