View Full Version : Help in key press
ar
February 19th, 2005, 06:37 PM
//I have this as a button:
on (press, keyPress "<RIGHT>") {
crono.go = "forward";
}
on (release) {
crono.go = false
}
//How do I make it to where if I release the right key, crono.go = false
kirupa
February 19th, 2005, 06:51 PM
This section on keyboard input may help: http://www.kirupa.com/developer/mx2004/xml_flash_photogallery6.htm :)
ar
February 19th, 2005, 07:01 PM
I just need to know how to make the image stop moving when I release the key. The picture is an animated character movie clip.
eiefai
February 19th, 2005, 10:32 PM
maybe this helps
onClipEvent(enterFrame){
if (Key.isToggled(Key.KeyCode)){
_root.MC.stop();
}
}
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.