# A movieclip/actionscript question

**URL:** <https://forum.kirupa.com/t/a-movieclip-actionscript-question/35604>\
**Category:** flash\
**Created:** [November 15, 2003, 10:42pm UTC](https://forum.kirupa.com/t/a-movieclip-actionscript-question/35604 "2003-11-15T22:42:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AWog27](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@AWog27](https://forum.kirupa.com/u/AWog27)\
**Post date:** [November 15, 2003, 10:42pm UTC](https://forum.kirupa.com/t/a-movieclip-actionscript-question/35604/1 "2003-11-15T22:42:30Z")

</div>

Alright so heres the deal:

I have a movie clip that is played in one frame of scene1. The movie clip is a 800X200 clip that consists of 5 images… each 160X200.

What the movie clip does is it shows the first image on the horizontal line for a second or two, then it fades out, and then the next image fades in for a second or two, etc… It shows a girl walking along a wall.

What I need to know how to do is… when you put your curser over any of the slots where the pictures are/were, I want the movie clip to stop until the curser is moved and I want an image to show where the curser is. (Ex. if the curser moves over the first image, I want the first image to be shown and the rest of them to stop popping up until the curser is off of the flash movie). Can anyone help me with how to do this? I’m rather newbish to flash and any help would be great.

Thanks in advance.

---

<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:** [November 15, 2003, 10:47pm UTC](https://forum.kirupa.com/t/a-movieclip-actionscript-question/35604/2 "2003-11-15T22:47:03Z")

</div>

\*\*attatch file (zipIt prefferably)

gotta see how you have it set up

---

<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:** [November 15, 2003, 10:51pm UTC](https://forum.kirupa.com/t/a-movieclip-actionscript-question/35604/3 "2003-11-15T22:51:20Z")

</div>

Use some mouse actions. When you roll the cursor over the movie clip, make the fading girl clip stop, then when you roll out, make it play again.

Put this on the fading girl movie clip:

```auto

on(rollOver){
this.stop();
}
on(rollOut){
this.play();
}

```

this won’t work if you are using hte main timeline to animate the girl. make sure each fading girl is a movie clip of its own. At the end of each fading girl movie clip, you can put an action that says play the next one. Eg. at the end the first clip, pout an action that says

```auto

_root.girl2MC.play();

```

to make the image show when you roll over, use a similar script to the former:

```auto

on(rollOver){
_root.pictureMC._visible = true;
}

```

or to fade it in

```auto

on(rollOver){
_root.pictureMC._alpha +=10;
}

```

use a rollOut action to hide the movie clip.

Hope it helps.
