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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Director 8.5 linear navigation using left and right arrow keys. HELP

Status
Not open for further replies.

inkdigital

Technical User
May 11, 2004
1
US
I am using macromedia director 8.5-

I currently have a movie intro that loops I would like to goto and play the next marker by using the right arrow key and the left arrow key to go back.

on startMovie
on keyDown
go next
end keyDown
end startMovie

It takes me to the next marker and stops. but I am unable to goto the following marker.

Thank You
Anthony
 
The strategy is:
1. Trap the key down action by "the keyDownScript"
2. Check if the key down was left/right arrow
3. If so go to the appropriate marker
--
on start Movie
the keyDownScript = "checkKey()"
end startMovie

on checkKey
put("the keyCode:" && the keyCode) -- monitor the keyCode
case the keyCode of
123: go marker(-1)
124: go marker(1)
end case
end checkKey
--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top