# Not linking correctly!?

**URL:** https://forum.kirupa.com/t/not-linking-correctly/167939
**Category:** Uncategorized
**Created:** [November 2, 2005, 4:13pm UTC](https://forum.kirupa.com/t/not-linking-correctly/167939 "2005-11-02T16:13:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![DKusz](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@DKusz](https://forum.kirupa.com/u/DKusz)
#### Post date: [November 2, 2005, 4:13pm UTC](https://forum.kirupa.com/t/not-linking-correctly/167939/1 "2005-11-02T16:13:55Z")

</div>

I added the following code to my move clips/buttons, and they link, but when you click on each button, they take you to a different scene each time u click on them, eahc button should bring you to the same scene when you click on it, but it just brings you to a random scene…here is my coding that im using for each movie clip/button:

testbutton\_btn4.onRelease=function(){  
gotoAndPlay(“scene 2”, 1);//action  
}

testbutton\_btn3.onRelease=function(){  
gotoAndPlay(“entertainment”, 1);//action  
}

testbutton\_btn1.onRelease=function(){  
gotoAndPlay(“contact”, 1);//action  
}

testbutton\_btn2.onRelease=function(){  
gotoAndPlay(“beauty”, 1);//action  
}

they dont link the same each time though…
