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]