Webpage Frames AND Flash Buttons

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,

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:

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.

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

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

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

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