# Extreme Newbie Question .. Buttons

**URL:** <https://forum.kirupa.com/t/extreme-newbie-question-buttons/9167>\
**Category:** flash\
**Created:** [December 6, 2002, 3:58am UTC](https://forum.kirupa.com/t/extreme-newbie-question-buttons/9167 "2002-12-06T03:58:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HairyHaggis](https://avatars.discourse-cdn.com/v4/letter/h/c2a13f/32.png) [@HairyHaggis](https://forum.kirupa.com/u/HairyHaggis)\
**Post date:** [December 6, 2002, 3:58am UTC](https://forum.kirupa.com/t/extreme-newbie-question-buttons/9167/1 "2002-12-06T03:58:21Z")

</div>

Hello all … thanks for having me here.

I have just begun trying to make my own site with absolutely no preior knowledge of how to do it … coding wise or anything.

I am using Macromedia Studio MX. I want to create a Photo Gallery as I am a student in the art.

I have made the various pages, yet I cannot get the buttons to link to the pages.

On home page I have made 5 buttons for various pages. I want, if pressed for the button titled Galleries to take me to the Galleries section in the site, but open in the same window.

I have tried to link it from the properties section of the button but all I get is a page not found error in IE, when the site is previewed. I created the site in DreamWeaver MX. The button is in the home directory and the galleries folder is also there. In the galleries folder are 5 other folders for various genre of photographs, but the main gallery page has 5 buttons for each genre.

What do I have to do to make my original button actually open up the galleries page, as I just cant get it to happen.

Sorry if the above makes no sense, but I am a complete novice in this, and stumbled across this forum via the tutorials after a google search.

Many thanks in advance.

---

<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:** [December 6, 2002, 6:59am UTC](https://forum.kirupa.com/t/extreme-newbie-question-buttons/9167/2 "2002-12-06T06:59:27Z")

</div>

Right click on your button and go to “Actions”

Put this in there…

```auto
on (release){
getURL("yourfile.html","_self");
}

```
