stumbling through lingo syntax - trying to get this to work.. what I need is
to be able to speed up and slow down the tempo of my movie using the shift
and the "+" or "_" keys (each time i hit shift "+" - the tempo increases by
10 - that sort of thing.
- I've tried a couple things (shown below) - none seem to be having the
desired results.. maybe someone could point me in the right direction/let me
know why i'm falling flat on my lingo face :)? thanks!
(I hope I am not offending by my simple questions)
krista
on startmovie
global speed
set speed = 30
puppetTempo speed
end
on keyDown
if the shiftdown and the key = "+" then SpeedUp
if the shiftdown and the key = "_" then set speed = speed/2
puppetTempo speed
case (the key) of:
TAB : go to the frame +1
"1": go to frame "1"
"2": go to frame "2"
"p" : pause
"c" : continue
"e": set the movieRate of sprite 4 to 0
"r": set the movieRate of sprite 4 to 1
"t": set the movieRate of sprite 4 to .5
BACKSPACE : go to #previous
end case
end
on mousedown
go to the frame +1
end
on SpeedUp
set speed = speed + 10
puppetTempo speed
end
[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!]