# Complex Button linking to

**URL:** https://forum.kirupa.com/t/complex-button-linking-to/151012
**Category:** flash
**Created:** [June 12, 2005, 3:10pm UTC](https://forum.kirupa.com/t/complex-button-linking-to/151012 "2005-06-12T15:10:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Wildstripe](https://avatars.discourse-cdn.com/v4/letter/w/7ba0ec/32.png) [@Wildstripe](https://forum.kirupa.com/u/Wildstripe)
#### Post date: [June 12, 2005, 3:10pm UTC](https://forum.kirupa.com/t/complex-button-linking-to/151012/1 "2005-06-12T15:10:56Z")

</div>

[color=black]I have successfully made some complex buttons by using the “Complex[font=Arial][font=Verdana]Button RollOver/RollOut Effects” tutorial here at [kirupa.com](http://kirupa.com).[/font][/font][/color]

But I have 1 problem. I don’t want the button to link to a different URL but to a Frame in a certain Scene.  
For example: I place the complex button graphic in Scene 1 and I want it to link to Frame 7 of Scene 2. How do I do this?

Here’s the original link script from the tutorial:

[color=#0000d0]this[/color].[color=#0000d0]onRelease[/color] [color=#0000ff]=[/color] [color=#006610]function[/color]color=#0000ff{[/color]  
[color=#0000d0]getURL[/color]color=#0000ff[/color];  
[color=#0000ff]}[/color]

How should I edit this script? Or is there an other way?  
Any help is appreciated.
