pause, rew and forwad an audio
Jon
jbondy at sover.net
Tue Jul 12 07:57:24 EDT 2005
Here is a handler that "rewinds" a player 10 seconds when a button is
clicked. Call this repeatedly and periodically and you would get some
sort of rewind effect
on mouseUp
local t
put the currentTime of player "myPlayer" into t
subtract (10 * the timeScale of player "myPlayer") from t
set the currentTime of player "myPlayer" to t
end mouseUp
:)
Jon
Dan Shafer wrote:
> Assuming you are using a QuickTime Player object to do this work, you
> can use the following properties to control pause and loudness:
>
> set the playLoudness of player "foo" to 0
> set the paused of player "foo" to true (and false to un-pause)
>
> However, Rev does not include any commands to place the playback head
> where you want it. Trevor DeVore of Mango Multimedia, who hangs out
> here, wrote an external for Rev to provide better interaction with QT
> movies but a quick perusal of the version I have doesn't include
> implementation of rewind or fast forward (i.e., frame-specific
> positioning) as far as I can tell.
>
> Dan
>
> On Jul 11, 2005, at 1:07 PM, Ban Nguyen wrote:
>
>> I use play and stop command to play and stop an audio. What command do
>> I need to use to pause, rew and forwad an audio. How do I control the
>> volume? Thank you for your help.
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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