# Help please

**URL:** https://forum.kirupa.com/t/help-please/15794
**Category:** Uncategorized
**Created:** [March 18, 2003, 4:04am UTC](https://forum.kirupa.com/t/help-please/15794 "2003-03-18T04:04:38Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![WolfPack2005](https://avatars.discourse-cdn.com/v4/letter/w/b38774/32.png) [@WolfPack2005](https://forum.kirupa.com/u/WolfPack2005)
#### Post date: [March 18, 2003, 4:04am UTC](https://forum.kirupa.com/t/help-please/15794/1 "2003-03-18T04:04:38Z")

</div>

I was wondering how to make the movie stop when the user clicks in a certain area. An example is [http://members.shaw.ca/wpgclan/whatyouare.htm](http://members.shaw.ca/wpgclan/whatyouare.htm) . I want to make something similar where the movie stops when the user clicks. Thanks for any help

---

<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: [March 18, 2003, 4:09am UTC](https://forum.kirupa.com/t/help-please/15794/2 "2003-03-18T04:09:11Z")

</div>

Create a movie clip symbol.

Inside that symbol create your animation.

Go back and right click on the original movie clip symbol and open the actions panel.

Apply these actions…  
[AS]on (release) {  
this.stop();  
}[/AS]

---

<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: [March 18, 2003, 4:17am UTC](https://forum.kirupa.com/t/help-please/15794/3 "2003-03-18T04:17:20Z")

</div>

Thanks for the help, but when I do that, this message comes up:

"Clipboard Actions: Line 1: Mouse events are permitted only for button instances  
on (release) {

I tried converting them to buttons, but the same message still came up. Do you have any advise?

---

<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: [March 18, 2003, 4:22am UTC](https://forum.kirupa.com/t/help-please/15794/4 "2003-03-18T04:22:19Z")

</div>

You are probably exporting for Flash 5. If you are, this will not work.

Go to File/Publish Settings.

On the Flash Tab (I believe) there is an option for which version you are exporting as. If this is set to anything other than Flash 6, your on handler action on your movie clip will not work.

---

<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: [March 18, 2003, 4:24am UTC](https://forum.kirupa.com/t/help-please/15794/5 "2003-03-18T04:24:40Z")

</div>

I checked that and I am exporting for flash 6.

---

<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: [March 18, 2003, 4:25am UTC](https://forum.kirupa.com/t/help-please/15794/6 "2003-03-18T04:25:19Z")

</div>

And you are sure you applied the actions to the movie clip symbol and NOT a frame right?

---

<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: [March 18, 2003, 4:26am UTC](https://forum.kirupa.com/t/help-please/15794/7 "2003-03-18T04:26:56Z")

</div>

Actually, I think that might be it. Thanks.

---

<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: [March 18, 2003, 4:31am UTC](https://forum.kirupa.com/t/help-please/15794/8 "2003-03-18T04:31:24Z")

</div>

hehe, let me know 🙂

---

<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: [March 18, 2003, 4:32am UTC](https://forum.kirupa.com/t/help-please/15794/9 "2003-03-18T04:32:55Z")

</div>

Okay, I tested the movie and the output box came up with this message

Line 2: on handlers may not nest within other on handlers  
on (release) {

I really have no idea what that means.

---

<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: [March 18, 2003, 4:35am UTC](https://forum.kirupa.com/t/help-please/15794/10 "2003-03-18T04:35:10Z")

</div>

It means you are adding an on handler in another handler.

Paste me the EXACT code (copy and paste) that you have on your movie clips actions.

---

<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: [March 18, 2003, 4:37am UTC](https://forum.kirupa.com/t/help-please/15794/11 "2003-03-18T04:37:17Z")

</div>

onClipEvent (load) {  
on (release) {  
this.stop();  
}  
}

I don’t have any idea what that means either. If you would like I can attach the flash file and you can take a look at it.

---

<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: [March 18, 2003, 4:42am UTC](https://forum.kirupa.com/t/help-please/15794/12 "2003-03-18T04:42:11Z")

</div>

[AS]onClipEvent (load) {  
on (release) {  
this.stop();  
}  
}[/AS]

You are using an on handler inside an onClipEvent handler. You aren’t allowed to do that in Flash.

Just use…

[AS]on (release) {  
this.stop();  
}[/AS]

WIthout any onClipEvent handler.

---

<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: [March 18, 2003, 4:49am UTC](https://forum.kirupa.com/t/help-please/15794/13 "2003-03-18T04:49:29Z")

</div>

Okay, When I copy and paste the action script you have there, it shows up with the OnClipEvent thing. It’s supposed to look like this:

on (release) {  
this.stop();  
}

But when I copy and paste that, it shows up like this:

onClipEvent (load) {  
on (release) {  
this.stop();  
}  
}

Can you explain how to do it by using the little “books” with the arrows on them on the left side of the action panel. The “books” say “actions” “operators” “function” and so on. Thanks

---

<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: [March 18, 2003, 4:53am UTC](https://forum.kirupa.com/t/help-please/15794/14 "2003-03-18T04:53:45Z")

</div>

Ahhhh, I see, you are coding in “Normal Mode” thats why. Stupid normal mode automatically adds that in there grr, that makes no sense.

As for the books… Open the “Actions” book.

In there open the “Movie Control” book.

Then click on “on” then click on “stop”.

That should work. Either that or just copy and paste in Expert mode.

---

<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: [March 18, 2003, 5:01am UTC](https://forum.kirupa.com/t/help-please/15794/15 "2003-03-18T05:01:59Z")

</div>

Alright, well I got the action script in there correctly, but when I test the movie, it still doesn’t stop when I click. Do you know what to do?

---

<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: [March 18, 2003, 5:04am UTC](https://forum.kirupa.com/t/help-please/15794/16 "2003-03-18T05:04:31Z")

</div>

It works perfectly fine for me man… :-\

I did a super quick example, check the attachment.

---

<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: [March 18, 2003, 8:09am UTC](https://forum.kirupa.com/t/help-please/15794/17 "2003-03-18T08:09:39Z")

</div>

Buddy you are doing a small mistake. Everything is fine but when u test the movie, u r not able to click exactly on to the movieClip. To make sure whenever you click it clicks on to movie, come to your file. open the movieclip of that animation. Insert one more layer and put a rectangle of around same movieClip size but the fill will be transparent.

Hope it works,

It works, confidently !

if still problem, dont hesitat to reply.

refer the fla

**transparent**

---

<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: [March 18, 2003, 8:12am UTC](https://forum.kirupa.com/t/help-please/15794/18 "2003-03-18T08:12:25Z")

</div>

Thats exactly what I did, I just didn’t add the layer for text because it was just done real quick to show how the actions work.
