Okay I tried posting this in the MX04 section but couldn’t get an answer so i’m trying it here.
www.versusmediagroup.com/haines
after the quick intro you’ll notice that your mouse goes away and turnes into a hand that looks like its knocking on the door. And that is just what i want it to do. I have the hand_mc set up with a stop(); action in the first frame of the MC and a quick animation that should play out once you click the mouse and once the animation is finished play the rest of the animation.
Any help would be great.
Here is the code i’ve tried so far:
Mouse.hide();
//
var mouseListener:Object = new Object();
mouseListener.onMouseMove = function() {
hand_mc._x = _xmouse;
hand_mc._y = _ymouse;
};
mouseListener.onMouseDown = function() {
if (door.hitTest(_xmouse, _ymouse, false)) {
hand_mc.gotoAndPlay(2);
}
};
Mouse.addListener(mouseListener);
hand_mc.startDrag(true, 0, 147, 552, 317);