# Webpage Frames AND Flash Buttons

**URL:** <https://forum.kirupa.com/t/webpage-frames-and-flash-buttons/14013>\
**Category:** Uncategorized\
**Created:** [February 21, 2003, 12:00am UTC](https://forum.kirupa.com/t/webpage-frames-and-flash-buttons/14013 "2003-02-21T00:00:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chavenor](https://avatars.discourse-cdn.com/v4/letter/c/ecb155/32.png) [@chavenor](https://forum.kirupa.com/u/chavenor)\
**Post date:** [February 21, 2003, 12:00am UTC](https://forum.kirupa.com/t/webpage-frames-and-flash-buttons/14013/1 "2003-02-21T00:00:44Z")

</div>

Here is the dilema. I have a Dreamweaver webpage, but want to do a fash nav bar. I use FLASH MX.

I have a page divided into to parts a “topframe” and “bottomframe”

The nav bar will go into the “topframe”  
I would like to click on the Flash buttons and then load a webpage into the “bottomframe”

OK – here we go

I know how to script it and all that good stuff… But I can’t get the webpage to load into the “bottomframe”?! I’ve found a couple of ideas but they don’t work. When exporting the SWF file, it says that handler’s are for button instences only! So that means I can’t load the webpage buy using the frame target name in the HTML file - “bottomframe”? Does anyone have a solution or a work arround to this?

Thanks you guys are the best FLASH resource on the NET!

Casey,

---

<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:** [February 21, 2003, 12:55am UTC](https://forum.kirupa.com/t/webpage-frames-and-flash-buttons/14013/2 "2003-02-21T00:55:07Z")

</div>

Are you sure you’re working with flash MX because MX allows you to have event handlers on both movieclips and buttons as well.

To have a flash link in your topframe target the bottom frame, just apply this to your button:

```php
on (release) {
       getURL("blah.html", "framename");
}

```

Make sure that your frames are named accordingly in your html as well or else the script won’t have anything to target.

---

<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:** [February 21, 2003, 1:35am UTC](https://forum.kirupa.com/t/webpage-frames-and-flash-buttons/14013/3 "2003-02-21T01:35:46Z")

</div>

Perhaps I’m doing this wrong???  
I right click on the button “while being in the 1st scene”  
Then click on “actions”  
Then I add the code…  
SAVE THE FILE…  
EXPORT IT TO SWF file  
And I get that same error again? I am using MX. Is there an update that I’m suppost to get for it?  
???

Thanks for the help…

Casey

---

<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:** [February 21, 2003, 1:38am UTC](https://forum.kirupa.com/t/webpage-frames-and-flash-buttons/14013/4 "2003-02-21T01:38:54Z")

</div>

post your fla, let me see what you’re doing, maybe I can figure out why you’re getting that error message.

---

<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:** [February 21, 2003, 3:43am UTC](https://forum.kirupa.com/t/webpage-frames-and-flash-buttons/14013/5 "2003-02-21T03:43:49Z")

</div>

I just ignored the error message and put the text in where you said and it works perfectlly!

Thanks so much for the help!

Thanks again,  
Casey

---

<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:** [February 21, 2003, 5:48am UTC](https://forum.kirupa.com/t/webpage-frames-and-flash-buttons/14013/6 "2003-02-21T05:48:18Z")

</div>

haha whatever works I guess, no problem, glad it worked for you. =)
