# Output with Flash Site?

**URL:** https://forum.kirupa.com/t/output-with-flash-site/8865
**Category:** Uncategorized
**Created:** [November 29, 2002, 9:08pm UTC](https://forum.kirupa.com/t/output-with-flash-site/8865 "2002-11-29T21:08:08Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![HALO](https://avatars.discourse-cdn.com/v4/letter/h/57b2e6/32.png) [@HALO](https://forum.kirupa.com/u/HALO)
#### Post date: [November 29, 2002, 9:08pm UTC](https://forum.kirupa.com/t/output-with-flash-site/8865/1 "2002-11-29T21:08:08Z")

</div>

Scene=Scene 1, Layer=actions, Frame=1: Line 1: Mouse events are permitted only for button instances  
on (release) {

Thats the message I get on my site when testing my site(as soon I hit, Control| Test Movie). The two links with buttons work and bring up the links but I still get that message. Is that bad or will that affect my site later on when its on the web? Any help, feedback, suggestions, etc. hehe. THanks for any help.

HALO

---

<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 29, 2002, 9:11pm UTC](https://forum.kirupa.com/t/output-with-flash-site/8865/2 "2002-11-29T21:11:31Z")

</div>

well it says that Mouse events are permitted only for button instances. Are you sure you’re using FMX?  
Cuz in MX you can put mouse events on movieclip instances…

---

<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 29, 2002, 9:14pm UTC](https://forum.kirupa.com/t/output-with-flash-site/8865/3 "2002-11-29T21:14:18Z")

</div>

Im new to flash so plz bare with me…Yes Iam using Flash MX. I not exactly sure what you mean though. Iam using a movie clip to load external swfs??? Iam lost sorry Any more help?

HALO

---

<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 29, 2002, 9:17pm UTC](https://forum.kirupa.com/t/output-with-flash-site/8865/4 "2002-11-29T21:17:46Z")

</div>

Insert this code into the first frame on the main timeline:

```php
urButtonInstanceName.onRelease = function(){
// ur code here, without on (release), etc..}
}

```

here is a quick example:

```php
urButtonInstanceName.onRelease = function(){
_root.gotoAndPlay(15);
}

```

Hope it helps.

h88

---

<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 29, 2002, 9:55pm UTC](https://forum.kirupa.com/t/output-with-flash-site/8865/5 "2002-11-29T21:55:17Z")

</div>

hi…  
if you want to put your code in the MovieClip… you can use this

```php

on (Press){
_root.yourMovieClip.gotoAndPlay(2)
}

```

h88 this is a new features in Flash MX… it’s ver cool but if he will put the code on the button he has to use the old Method… 🙂

---

<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 29, 2002, 9:56pm UTC](https://forum.kirupa.com/t/output-with-flash-site/8865/6 "2002-11-29T21:56:57Z")

</div>

> \*Originally posted by FlashSwimmer \*  
> \*\*h88 this is a new features in Flash MX… it’s ver cool but if he will put the code on the button he has to use the old Metod… 🙂 \*\*

True, Callback are much easier though, u could control a whole game in a single frame in the main timeline, i hate the old way. 😛

---

<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 29, 2002, 9:59pm UTC](https://forum.kirupa.com/t/output-with-flash-site/8865/7 "2002-11-29T21:59:39Z")

</div>

me too but he did it so i want to expalin why this error appear to him…

i agree with you h88, i like the new features in MX it’s very [color=red] **COOL** [/color]

---

<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: [December 1, 2002, 9:08pm UTC](https://forum.kirupa.com/t/output-with-flash-site/8865/8 "2002-12-01T21:08:39Z")

</div>

Alright I gonna give this a try when I have some time. I really appreciate all this thanks a billion.

HALO

---

<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: [December 1, 2002, 9:12pm UTC](https://forum.kirupa.com/t/output-with-flash-site/8865/9 "2002-12-01T21:12:33Z")

</div>

you are wellcome any time ![](http://www.kirupa.com/forums/smileys_files/lilac1.gif)

[color=red]_FlashSwimmer_[/color]
