Change angle on rollover

Hello,

I am working on a Drag n Drop interaction, and need some help. I am going to use this in Captivate so, can’t use script with _root. Here is what I am using. I got this script online and works perfectly fine. I have multiple boxes and snapAreas.

But now I want to add one more feature. That is; when the box rolls over snapArea, I want the box to change the angle to 90. IS this possible and how, I tried my best and couldn’t get it. Any help will be greatly appreciated.

Thanks in advance.

var fixedX:Number = box._x;
var fixedY:Number = box._y;

box.onPress = function() {
startDrag(this);
};

box.onRelease = function() {
if(box.hitTest(mc_snapArea)){
box._x = mc_snapArea._x;
box._y = mc_snapArea._y+30;
hitTestText.text = “That’s correct!”;
} else {
box._x = fixedX;
box._y = fixedY;
hitTestText.text = “Opps! Try again.”;
}
stopDrag();
};