Using Flash header in HTML frames

I am a newbie to flash and need some help using HTML frames.  We currently have a flasher header in our website with menus.  Each time you click on a menu option the new page loads, and the flash header reloads.  In order to keep the flash header from reloading (since the header never changes), I decided to use frame.  I placed the flash header in frame1, and my html pages in a bottom frame.  
The problem I am having is getting the flash menu to open a hyperlink in the bottom frame.  (the bottom frame is named "main".  
The flash action on the menu options is as follows:

getURL("resources.html", "main");

So, the goal is to have my flash header (with menu hyperlinks) in one frameeach time, and my html pages in a bottom frame that change as I click on the menu flash header items.  (the flash header should not reload)

Any help would be appreciated.  
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

What browser are you using to view it with?

Your first page that sets up the framing should have both a "name" and an "id" as in:

<frameset rows="10%,90%" frameborder="yes" border="0" framespacing="0">
  <frame src="top_page.htm" name="top" id="top" frameborder="NO">
  <frame src="bottom_page.htm" name="bottom" id="bottom" frameborder="NO">

Different browsers use different ways to address the frame name.

Then your flash button action just needs to address it by name. As in:


If you have changed your flash and recompliled a new swf file, make sure you are loading a fresh copy of the swf and not one that has been cached. The Flash player in your browser tends to use the cached copy even when there is a new one out there.
kharoldsenAuthor Commented:
section25 - thanks for the comment.  I certainly thought it should be that easy, but something isn't right.  Here is the code on my initial page:


<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled 1</title>

<frameset framespacing="0" border="0" frameborder="0" rows="297,*">
      <frame name="header" scrolling="no" noresize="noresize" target="main" src="header.html">
      <frame name="main" src="index1.2.html">

      <p>This page uses frames, but your browser doesn&#39;t support them.</p>



In my flash page I am using the following for the hyperlink:

on (release) {
      getURL("netmanage.html", "main");

When I run this link it opens in a new window with the netmanage.html page, rather than the same page in the "main" frame.

The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

kharoldsenAuthor Commented:
Sorry, I forgot to mention that I have tried both IE and Firefox, both do the same thing.
Hmmm... I've cut and pasted your code above and it works fine for me. There must be something else you are overlooking.

If you want, I can copy all of the code I've got working to a location where you can download it and try it for yourself. But is basically its just a copy of what you have above.

I'll see if I can think of anything else that may be causing it.
Here is the sample I was talking about.

You can download all the files from here:
kharoldsenAuthor Commented:
Thanks for testing this.  I am confused on what I may be doing wrong.  I have uploaded our flash file and the entire site to  If you want to download the file and take a look I would appreciate it.  The start page I am working with is index1.htm.  I think the only link that I have pointed to the "main" frame is the "managed technical services" wording in the middle of the flash file.
kharoldsenAuthor Commented:
I just double checked the flash file that I uploaded.  All of the menu links are pointing to the "main" frame.
kharoldsenAuthor Commented:
Doesn't appear to be an easy answer for this one.  I will close the question.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.