Ok, I have this code in my movie and everything works fine, except when I go to view my movie in HTML. When in HTML, the Key.isDown function does not work. Here is my code:
all help would be appreciated. Thanks in advance.Code:keyListener = new Object();
keyListener.onKeyDown = function():Void {
if (Key.isDown(Key.ESCAPE)) {
normal_video();
fs.gotoAndStop(1);
fs._x = 863.9;
nsB._x = 3000;
theatre.gotoAndStop(1);
}
};
Key.addListener(keyListener);