Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Keydown Scripts

Status
Not open for further replies.

Stressed

Programmer
Nov 4, 1999
1
CA
I can't seem to create a keydown script that will work. Even if I do a cut and paste from the help menu and get the syntax correct, it still has no effect on the movie. I realize that I need to run it as a movie script so that it effect the whole movie, but still no luck. All I want to do is use key strokes (such as the arrow keys) to controll the playback head. Can anyone help?!?!?!?!
 
in your startmovie script set the keydown script to a custom handler containing your code. eg<br>
on startmovie<br>
set the keydownscript to &quot;handler&quot;<br>
end<br>
<br>
on handler<br>
if the keycode = X<br>
go to frame Y<br>
end if<br>
end <br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top