my_mc is the instance name of the movie clip you want to play
Code:keyListener = new Object(); keyListener.onKeyDown = function() { if (Key.getCode() == Key.SPACE) { if (my_mc.hitTest(_xmouse, _ymouse)) { my_mc.play(); } } }; Key.addListener(keyListener);




Reply With Quote