Flash Lite 2.x and 3.0 ActionScript Language Reference

PGDN (Key.PGDN property)

public static PGDN : Number

The key code value for the Page Down key (34).

Example

The following example rotates a movie clip called car_mc when you press the Page Down and Page Up keys.

var keyListener:Object = new Object();
keyListener.onKeyDown = function() {
    if (Key.isDown(Key.PGDN)) {
    car_mc._rotation += 5;
    } else if (Key.isDown(Key.PGUP)) {
    car_mc._rotation -= 5;
    }
};
Key.addListener(keyListener);