# Linking A Button Tutorial Question?

**URL:** <https://forum.kirupa.com/t/linking-a-button-tutorial-question/229460>\
**Category:** Uncategorized\
**Created:** [June 17, 2007, 4:10pm UTC](https://forum.kirupa.com/t/linking-a-button-tutorial-question/229460 "2007-06-17T16:10:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvidia](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@nvidia](https://forum.kirupa.com/u/nvidia)\
**Post date:** [June 17, 2007, 4:10pm UTC](https://forum.kirupa.com/t/linking-a-button-tutorial-question/229460/1 "2007-06-17T16:10:04Z")

</div>

Hi i have just been going through the tutorials on this site for a few weeks so i am pretty new to this. The one i am on is the Linking A Button tutorial [http://www.kirupa.com/developer/flash5/buttonlink.htm](http://www.kirupa.com/developer/flash5/buttonlink.htm). I have tried to follow the instructions as best i could but instead of using the button provided, i created my own and made an instance of this called **button**. What i am having trouble is that when i go to File | Publish Preview | HTML, my web page opens up with also the code error

```auto

 
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Mouse events are permitted only for button instances
     on(release){
Total ActionScript Errors: 1 Reported Errors: 1

```

when the page loads up and try to click on the button nothing happens.

However, if i were to go to Control | TestMovie, the same error appears but this time when i click on the button it produces the Yahoo website.

Can somebody tell me why i am getting this error even though i have already given my button an instance name and how to rectify.

I have also noticed some variations to the tutorial version flash, in particular how  
you assign a ulr, and window and variables. I can only assume that the pictures were of an earlier version of flash.

Thanks
