You don't need to call it. The on keyDown handler is activated whenever a key is
pressed. The
sound(3).play("footstep") command is the same as puppetSound 3, "footstep", because
puppeting is now
automatic, so you don't need to manually puppet any more.
Charlie Fiskeaux II
Media Designer
The Creative Group
www.cre8tivegroup.com
859/858-9054 x29
----- Original Message -----
From: Kevin McCarthy
To: [EMAIL PROTECTED]
Sent: Monday, May 06, 2002 12:41 PM
Subject: RE: <lingo-l> need help with sound ?
Or perhaps I haven't assigned the sound to sound channel 3 yet, how do I
do this...or is it automatic?
-KEV-
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Charlie
Fiskeaux II
Sent: 06 May 2002 17:05
To: [EMAIL PROTECTED]
Subject: Re: <lingo-l> need help with sound ?
One way would be this, if you reserved sound channel 3 for only
footsteps at this time:
on keyDown --place in a movie script
if the keyPressed=126 then
if sound(3).status=0 then --if it's idle
sound(3).play("footstep")
end if
end if
end
Charlie Fiskeaux II
Media Designer
The Creative Group
www.cre8tivegroup.com
859/858-9054 x29
cell: 859/312-3883
----- Original Message -----
From: Kevin McCarthy
To: [EMAIL PROTECTED]
Sent: Monday, May 06, 2002 11:42 AM
Subject: <lingo-l> need help with sound ?
Hello all,
I have a wav sound of footsteps which is about 2 secs long, I am
currently using :
on exitFrame me
go to the frame
if keypressed(126) then
puppetsound 3,"footstep"
to call the sound from the cast when the key press, but because the key
press is happening all the time, it's re-triggering it constantly and
therefore you can't hear the sound played in full, and then obviously
the other side to his is when the key is not being presses it is not
playing Has anyone got any ideas on how I might be able to get around
this problem.
Regards
-KEV-
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED]
(Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and
helping with programming
Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]).
Lingo-L is for learning and helping with programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED]
(Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with
programming
Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]