flash on mouse move???
flash on mouse move???
Out of context: Reply #2
- Started
- Last post
- 5 Responses
- Mishga0
Ok i not sure if this is the effect the want to use, so far i have:
[Code]
area.onRollOver = function() {
graphic.onEnterFrame = function() {
var xMouse = _root._xmouse;
var yMouse = _root._ymouse;
if (Math.abs(xMouse-this._x)<1) {
this._x = xMouse;
this._y = yMouse;
} else {
this._x -= (this._x-xMouse)/6;
this._y -= (this._y-yMouse)/6;
}
};
};
area.onRollOut = function() {
graphic._x = 20;
graphic._y = 20;
delete graphic.onEnterFrame;
};[end code]
i can't manage to make the rollout effect with easing..sorry.:P
this is the tutorial i checked..
http://www.spoono.com/flash/tuto…Cheers..Hope someone else help you..=)