|
-
Designer, Programmer, Musician
onClipEvent(load){
var keyListener:Object = new Object();
keyListener.onKeyDown = function() {
if (Key.isDown ( Key.PGDN)) {
trace("down");
// GoTo Next Screen behavior
rootSlide.currentSlide.gotoPreviousSlide();
}
if (Key.isDown ( Key.PGUP)) {
trace("up");
rootSlide.currentSlide.gotoNextSlide();
};
Key.addListener(keyListener);a
}
Hope that helps
Last edited by angelhdz; 11-26-2012 at 09:32 AM.
 Already mastering AS3. It was so fun. Now into Javascript and PHP and all its libraries 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|