# Html frame problem

**URL:** <https://forum.kirupa.com/t/html-frame-problem/232437>\
**Category:** Uncategorized\
**Created:** [July 13, 2007, 5:48pm UTC](https://forum.kirupa.com/t/html-frame-problem/232437 "2007-07-13T17:48:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nelson1983](https://avatars.discourse-cdn.com/v4/letter/n/eb8c5e/32.png) [@nelson1983](https://forum.kirupa.com/u/nelson1983)\
**Post date:** [July 13, 2007, 5:48pm UTC](https://forum.kirupa.com/t/html-frame-problem/232437/1 "2007-07-13T17:48:22Z")

</div>

Hi everyone 👁,

I’ve got a problem with a little project that i’m doing.

I have a HTML page which is made of a top frame that holds a swf file (menu with links)  
and a bottom frame that holds html (dynamic content).

the html that i got is:  
[COLOR=blue]\<frameset rows="_" cols=“1%,750,1%” frameborder=“NO” border=“0” framespacing=“0”\>  
\<frame src=“left.htm” name=“leftFrame.htm” scrolling=“NO”\>  
\<frameset rows="265,_" frameborder=“NO” border=“0” framespacing=“0”\>  
\<frame src=“links.htm” name=“topFrame” scrolling=“NO” noresize\>  
\<frame src=“mainFrame.htm” name=“mainFrame” scrolling=“NO”\>  
\</frameset\>  
\<frame src=“right.htm” name=“rightFrame.htm” scrolling=“NO”\>  
\</frameset\>  
\</frameset\>  
\<noframes\>\<body\>[/COLOR]  
[COLOR=#0000ff][/COLOR]  
[COLOR=black]Now in my swf that is located in the links.htm page I try to change the HTML in the mainFrame.htm using the following actionscript on my buttons:[/COLOR]

[COLOR=darkred]//menu buttons  
////page1[/COLOR]  
[COLOR=darkred]page1\_btn.onRelease = function() {  
holder.pictureholder.unloadMovieNum(1);  
holder.pictureholder.loadMovie(“Pictures/page1.swf”,1);  
getURL(“page1.htm”, “mainFrame”);  
};  
////page2  
page2\_btn.onRelease = function() {  
holder.pictureholder.unloadMovieNum(1);  
holder.pictureholder.loadMovie(“Pictures/page2.swf”, 1);  
getURL(“page2.htm”, “mainFrame”);  
};[/COLOR]  
[COLOR=darkred]//etc.[/COLOR]  
[COLOR=#8b0000][/COLOR]  
[COLOR=black]I tried some other things but it keeps op opening the page1.htm etc. in my topFrame.htm[/COLOR]  
[COLOR=black][/COLOR]  
[COLOR=black]What the hell am i doing wrong!!![/COLOR]
