Using getURL to target an html iframe

Hi, This is my first post, I hope you guys can help.

I have a flash header (using MX) with buttons which are opening URL’s no problem into a new window each time, however I want to cause the html content to load in the ‘iframe’ area below the flash header. The iframe is called ‘content’. I have only ever seen people doing this for normal frame sets and wonder why I can’t get the new page loading into an iframe.

Here is the iframe code:
<iframe FRAMEBORDER=“0” BORDER=“0” width=560 height=100% src=“mainbody.html” allowtransparency=“true” name=content scrolling=“auto”></iframe>

I am reading some conflicting ideas about how to write the getURL statement, here are some examples:

getURL("main.html" [, window [, “content”]])

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

this next one works but opens a new window, but i need it to open in ‘content’
getURL("index.html");

I found an eg on this site for getURL with frames, but the zip file contained an .fla file without any getURL commands, and the swf with html pages also did not work correctly when run from hard drive, but the website version works fine.

Any help would be appreciated, I use MX and Dreamweaver am a novice at flash, but very experienced with html.

I have another problem on the same flash header to activate a search input into a simple cgi script for searching a web site, I’ll post that question in another thread.

Thanks in advance

Andy

Hello HeelMod. Did you ever fix the iframe issue??? Or throw it out the door.

Did you have html page with the swf links in a table then want to open a new page plus new contnt in the iframe. Or just stay on same page only changing iframe content???

I have been trying to do the former with no luck…??? Anyone. Off to search forums more.

Ta

put quotes around every thing in your iframe code.
you may want to add an “id” attribute which, from memory, serves the same pupose as the name attribute in netscape.

anyways here is what you need…