Summary

[ LiB ]

You can now move your objects with the press of a key. You learned all about button shortcut keys and how to set them up to control external objects. You even learned how to make the button react to a click, release, and/or shortcut all at the same timeyou pretty much mastered the on event handler in this chapter. You also learned how to install keyboard handlers that respond and execute code as soon as a key has been pressed or released. And to finish up, you dissected a program that made full use of the key commands within the Key object. You can now take this information and create your very own demos and mini- games that users can control from their own keyboards. How cool is that?

[ LiB ]


Game Development with ActionScript
Game Development with ActionScript
ISBN: 1592001106
EAN: 2147483647
Year: 2004
Pages: 162
Authors: Lewis Moronta

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net