Hi there,
I have a movie clip with autoscroll, on rollout I want it to move back to its original position.
I tried this on the frame my mc is in…
[COLOR=navy]this.onRollOut = function() {
this._y = 130;
}
[COLOR=black]This is my code for the autoscroll…[/COLOR]
_root.onEnterFrame = function () {
if(_root._xmouse > 328 && _root._xmouse < 800 && _root._ymouse > 120 && _root._ymouse < 540)
this.employmenttext_mc._y = -(622/420 * _root._ymouse) +130;
}
[/COLOR]
where y=130 is the y value i want it to return to on rollout. Where am I going wrong?
Thanks for your time