Charles,
I would try working with players in buttons first and make sure you
get those down pat, then look at capturing the keystrokes. Maybe
capture keystrokes to execute the buttons and then look at doing it
all via scripts at the card level.
Create a bunch of buttons for all of the commands like:
on mouseup
answer file "Please select a movie-file:"
if the result is not "cancel" then set the filename of player 1 to it
end mouseup
on mouseup
start player 1
end mouseup
on mouseup
stop player 1
end mouseup
on mouseup
set the paused of player 1 to true
end mouseup
on mouseup
set the paused of player 1 to false
end mouseup
on mouseup
put the currenttime of player 1 into field 2
end mouseup
on mouseup
set the currenttime of player 1 to 0
end mouseup
on mouseup
set the currenttime of player 1 to 4000
end mouseup
on mouseup
set the playRate of player 1 to 2 -- 1 is normal, 0.5 is half
speed, 2 is double speed
end mouseup
on mouseup
set the playloudness of player 1 to 0 -- mute
end mouseup
on mouseup
set playloudness of player 1 to 100 -- full
end mouseup
on mouseup
set playloudness of player 1 to 50 -- half
end mouseup
on mouseup
if the QTVersion < 3 then answer "Hey bub, you need Quicktime 3.0
or later."
if the QTVersion > 4 then answer "Great, you have a version of
Quicktime that will work great with the app."
end mouseup
HTH
Tom
On Dec 17, 2005, at 11:21 AM, Charles Hartman wrote:
I haven't played with players before, and I have a really simple
question:
If I want to add a keystroke handler to this player stack, how do I
do it? I can put a rawKeyDown handler in either the stack or the
card, and keystrokes are recognized. (Not if I put the handler in
the script of the player itself.) But the player doesn't seem to
respond to the commands I associate with keystrokes. I'm just
trying to implement spacebar = pause/resume, arrow keys step
forward/back.
Is the filename this player stack loads also the name of the clip?
That is, if I put "put the filename of player 'Player' into
theClip" at the top of my rawKeyDown handler (very inefficient; I'm
just testing), can I then use theClip as the argument for various
'play' commands? That's what I'm trying but it doesn't seem to do
anything.
What am I missing? I can't seem to find a thread in the docs that
clarifies this . . .
Charles Hartman
On Dec 17, 2005, at 6:43 AM, Thierry Arbellot wrote:
The stack is available on another server
Here are the links :
http://perso.wanadoo.fr/hal/player.rev
http://perso.wanadoo.fr/hal/player.rev.zip
Cheers,
Thierry
On 2005, Dec 16, , at 21:26, Thierry Arbellot wrote:
OK
I will put the stack without compression on the server on Monday.
Thierry
On 2005, Dec 16, , at 20:35, Eric Chatonet wrote:
Hi Thierry,
Dom is a mac user and he can't decompress your archive since the
last available version of Stuffit is 9.01 on this platform.
I asked Klaus to send me your stack but I was unable too to open
the archive he sent to me.
Since your stack is light, I suggest that you put it on your
server as a binary file without compressing it.
Then we all be able to thank you :-)
Best Regards from Paris,
Eric Chatonet
-------------------------------------------------------------------
---------------------------
http://www.sosmartsoftware.com/
[EMAIL PROTECTED]/
Le 16 déc. 05 à 20:25, Thierry Arbellot a écrit :
The archive was compressed with Stuffit 10. It may be not
backward compatible with previous version
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Thomas J McGrath III
[EMAIL PROTECTED]
Semantic Compaction Systems
SCIconics, LLC
Lazy River Metal Arts
Lazy River Software™
&
Meeting Wear™ - Unique Apparel Design
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution