# Button linking to .swf files...?

**URL:** https://forum.kirupa.com/t/button-linking-to-swf-files/8227
**Category:** Uncategorized
**Created:** [November 16, 2002, 5:56am UTC](https://forum.kirupa.com/t/button-linking-to-swf-files/8227 "2002-11-16T05:56:45Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![blah\_de\_blah](https://avatars.discourse-cdn.com/v4/letter/b/a8b319/32.png) [@blah\_de\_blah](https://forum.kirupa.com/u/blah_de_blah)
#### Post date: [November 16, 2002, 5:56am UTC](https://forum.kirupa.com/t/button-linking-to-swf-files/8227/1 "2002-11-16T05:56:45Z")

</div>

does anyone know hwo to create a button, which can link to other .swf files? i think this is the problem why the full flash site i am creating can’t have any navigating in it…thx for your 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: [November 16, 2002, 6:00am UTC](https://forum.kirupa.com/t/button-linking-to-swf-files/8227/2 "2002-11-16T06:00:54Z")

</div>

Are you loading the .swf files in, or are you going to the .swf file?

If you are going to it, yes you can, but I highly recommend embedding your .swf file into an html page and linking to the html page.

---

<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 16, 2002, 6:10am UTC](https://forum.kirupa.com/t/button-linking-to-swf-files/8227/3 "2002-11-16T06:10:35Z")

</div>

i’m pretty sure i am ‘going to’ and not loading in. i’ve just noticed that i can create buttons in flash 5 but they dont’ seem to work in flash mx are they created differently? thx for your help btw

---

<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 16, 2002, 6:12am UTC](https://forum.kirupa.com/t/button-linking-to-swf-files/8227/4 "2002-11-16T06:12:41Z")

</div>

You can create buttons in both Flash 5 and Flash MX the same way.

If you are going to something then just use a getURL.

```auto
on (release) {
getURL("file.swf","_self");
}

```

Something like that.

---

<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 16, 2002, 6:30am UTC](https://forum.kirupa.com/t/button-linking-to-swf-files/8227/5 "2002-11-16T06:30:49Z")

</div>

do you know how kirupa made his buttons for this tutorial…?  
[http://www.kirupa.com/developer/mx/full\_site.asp](http://www.kirupa.com/developer/mx/full_site.asp)  
cause thats sorta what i’m following except it doestn’ work very well…thx

---

<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 16, 2002, 6:38am UTC](https://forum.kirupa.com/t/button-linking-to-swf-files/8227/6 "2002-11-16T06:38:30Z")

</div>

He tells you on page 2 of that tutorial.

It uses loadMovie.
