# Button Linking to file

**URL:** https://forum.kirupa.com/t/button-linking-to-file/292864
**Category:** flash
**Created:** [July 20, 2009, 5:03pm UTC](https://forum.kirupa.com/t/button-linking-to-file/292864 "2009-07-20T17:03:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hasaki](https://avatars.discourse-cdn.com/v4/letter/h/aeb1de/32.png) [@hasaki](https://forum.kirupa.com/u/hasaki)
#### Post date: [July 20, 2009, 5:03pm UTC](https://forum.kirupa.com/t/button-linking-to-file/292864/1 "2009-07-20T17:03:22Z")

</div>

Hi all,  
Kinda new to flash CS4 so this might be a pretty simple question, but I can’t seem to find the answer anywhere.  
After defining my button as a button and then going into the F9 actionscripts menu, I don’t know what code to input to make the button link to a specific file. I’m doing this as an autorun swf for a CD I am making.

Thanks,  
Hasaki
