# Complex rollover w/o onEnterFrame

**URL:** <https://forum.kirupa.com/t/complex-rollover-w-o-onenterframe/198424>\
**Category:** Uncategorized\
**Created:** [August 24, 2006, 10:37pm UTC](https://forum.kirupa.com/t/complex-rollover-w-o-onenterframe/198424 "2006-08-24T22:37:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cryo\_burned](https://avatars.discourse-cdn.com/v4/letter/c/3be4f8/32.png) [@cryo\_burned](https://forum.kirupa.com/u/cryo_burned)\
**Post date:** [August 24, 2006, 10:37pm UTC](https://forum.kirupa.com/t/complex-rollover-w-o-onenterframe/198424/1 "2006-08-24T22:37:46Z")

</div>

ok i have this in frame one:

```auto

stop();
this.onRollOver = function() {
    play();
    nextFrame;
};
this.onRollOut = function() {
    prevFrame;
};
this.onDragOut = function() {
    prevFrame;
};

```

and this in the last frame:

```auto

stop();
this.onRollOver = function() {
    stop();
};
this.onRollOut = function() {
    play();
    prevFrame;
};
this.onDragOut = function() {
    prevFrame;
};

```

and these are both in a movielip… So on rollovfer the movie plays, but on rollout the movie just returns to frame one… any ideas on how to reverse smoothly to frame one?
