# ON Rollout-question

**URL:** <https://forum.kirupa.com/t/on-rollout-question/59548>\
**Category:** flash\
**Created:** [August 1, 2004, 11:23pm UTC](https://forum.kirupa.com/t/on-rollout-question/59548 "2004-08-01T23:23:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dada78](https://avatars.discourse-cdn.com/v4/letter/d/ea666f/32.png) [@dada78](https://forum.kirupa.com/u/dada78)\
**Post date:** [August 1, 2004, 11:23pm UTC](https://forum.kirupa.com/t/on-rollout-question/59548/1 "2004-08-01T23:23:21Z")

</div>

I created an image slideshow that starts its animation on mouse rollover/dragover.

When the mouse rolls out, and rolls over again the mc starts from the beginning instead of starting off at the frame where the mouse rolled-out last.

Is there an easy way to tell the movieclip to start from where the mouse last rolled out? :h:

Main time line: 1st frame: still image  
Main time line: 2nd frame: scrollbar component targeting my image slider movie clip.

Right now the button that targets my image slide show has the following code assigned to it:

on (rollOver, dragOver) {  
gotoAndPlay(2);  
}  
on (rollOut, dragOut) {  
gotoAndStop(1);  
}

Thanks to all the genius actionscripters.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2004, 12:00am UTC](https://forum.kirupa.com/t/on-rollout-question/59548/2 "2004-08-02T00:00:45Z")

</div>

can you post a link? from the sound of it you dont need to use scrolbar… simply have the slideshow in a movie clip and then put a stop command on frame 1 of the movie clip (stops slideshow playing)…then have:

on (rollOver, dragOver) {  
\_root.yourmoviename.play();  
}  
on (rollOut, dragOut) {  
\_root.yourmoviename.stop();  
}

this will pause the movie…

hope this helps im no expert but…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2004, 12:44am UTC](https://forum.kirupa.com/t/on-rollout-question/59548/3 "2004-08-02T00:44:06Z")

</div>

Thanks for your great advice!

It works BUT I would like the movie to jump back to frame 1 (main timeline (still image) on rollout/dragout. And THEN when you rollover the button that targets the animated slideshow mc it should start where it last left off/paused (on last dragout).

I would greatly appreciate your help.

Unfortunately I don’t have a link to it but would you mind me e-mailing the file to you?

Ant help would be great! Thanks a lot!  
Dada
