hayored
12-21-2002, 05:35 AM
Hi,
I created a movie, where pressing down a key starts some action.
It is working OK in Flash, but when I try to run from IE, it works only after I click with mouse on the screen.
Here is the code for my listener:
myListener = new Object();
Key.addListener(myListener);
myListener.onKeyDown = function() {
shoot = true;
};
Any idea why it is working OK in Flash MX, but not with IE?
Thanks,
YH
I created a movie, where pressing down a key starts some action.
It is working OK in Flash, but when I try to run from IE, it works only after I click with mouse on the screen.
Here is the code for my listener:
myListener = new Object();
Key.addListener(myListener);
myListener.onKeyDown = function() {
shoot = true;
};
Any idea why it is working OK in Flash MX, but not with IE?
Thanks,
YH