# Here we go.. AS3! Rollover Mask Help

**URL:** <https://forum.kirupa.com/t/here-we-go-as3-rollover-mask-help/266644>\
**Category:** Uncategorized\
**Created:** [July 22, 2008, 11:28pm UTC](https://forum.kirupa.com/t/here-we-go-as3-rollover-mask-help/266644 "2008-07-22T23:28:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FlashPlaya](https://avatars.discourse-cdn.com/v4/letter/f/e274bd/32.png) [@FlashPlaya](https://forum.kirupa.com/u/FlashPlaya)\
**Post date:** [July 22, 2008, 11:28pm UTC](https://forum.kirupa.com/t/here-we-go-as3-rollover-mask-help/266644/1 "2008-07-22T23:28:08Z")

</div>

I have been using as2 for a while now. But it is time to start AS3. Can one of you guys help me rework this file into as3 so I can see how it works? Stringy helped me out with this a long time ago and it worked great.

You need fuse or a tween class to see it working.

```auto
import com.mosesSupposes.fuse.*;
ZigoEngine.simpleSetup(Shortcuts, PennerEasing);

box.setMask(mask);
box.onRollOver = btnOver;
createEmptyMovieClip("checker", 500);
function btnOver() {
	this.slideTo(182, 130, 0.5, 'easeOutElastic');
	delete this.onRollOver;
	var _this = this;
	checker.onEnterFrame = function() {
		if (!_this.hitTest(_xmouse, _ymouse, true)) {
			delete this.onEnterFrame;
			_this.onRollOver = btnOver;
			_this.slideTo(182, 90, 0.5, 'easeOutElastic');
			 }
	};
}

```

Thanks guys!
