Hi,

Please find attached a commented leopard patch. Similar approach to the others for Tiger - externalise the timebase -> use a 'toggle' switch to start / stop a stopwatch driving the timebase of the movie.

In Leopard, if you set the movie to 'asyncronous mode' (allowing sound playback) - the movie is de-coupled from the QC time bases, and you have to use the movie position data (in a loop) with a 'sample and hold'. I found if you set the loop duration to a very small number - . 001 - it effectively pauses the movie.

You'll need to change the movie paths to your own local movies.

Cheers, Ian

Attachment: video keyboard pause control.qtz
Description: application/quartzcomposer



*******************************
Ian Grant
Senior Lecturer in Digital Art
Faculty of the Arts
Thames Valley University
Ealing, UK
W5 5DX
<[EMAIL PROTECTED]>
*******************************



On 4 Feb 2008, at 14:22, Benjamin Khoo wrote:

hi all

i was wondering if it is possible to play and pause a movie on keystroke? i have managed to get a movie to play, but i haven't been able to find a way to pause the playback
does any one have any idea how it can be done?

thanks lots

--
bENJAMIN kHOO
qIU wENDA
http://www.copperblue.per.sg
http://himiko.dnsalias.net:8000
gpg --search-keys [EMAIL PROTECTED]

perl -e "while(length(\$s='1079797275327873776574786966')-(++\ $i*2)>=0){push(@_,substr(\$s,length(\$s)-\$i*2,2))}print pack('c'.scalar(@_),@_)"



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/ian.grant%40mac.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to