(Projections)
KeyListener = new Object();
KeyListener.onKeyDown = function() {
if (Key.isDown(Key.ENTER)) {
gotoAndPlay(248);
}
};
Key.addListener(KeyListener);
fscommand("fullscreen", "true");
gotoAndPlay(1);
delete _root.onMouseMove;
(Interactive Doll)
_root.stop();
// Use onMouseMove to track when the mouse has moved
_root.onMouseMove = function() {
// If the mouse has moved, go to the correct frame
_root.gotoAndPlay(20);
// Delete the onMouseMove event after its done its job to save on computing power
};
delete _root.onMouseMove;
No comments:
Post a Comment