I have tried everything to make this work, it to make my flash button open a new page in the current iFrame. Ill put in the code.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>..:: GamesNetwork ::..</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#FFFFFF" link="#00CCFF">
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="900" height="100" align="absbottom">
<param name="movie" value="topbar.swf"><param name="SCALE" value="exactfit"><param name="LOOP" value="false">
<embed src="topbar.swf" width="900" height="100" loop="false" align="absbottom" scale="exactfit" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>
</object>
<table width="900" height="650" border="1" align="center" bordercolor="#6FBAEB" bgcolor="#6FBAEB">
<tr>
<td>
<iframe align="middle" frameborder="0" height="900" width="890" name="main" src="pages/main.htm"></iframe>
</td>
</tr>
</table>
</div>
</body>
</html>
The AS im using on the button is:
[AS]
on (release) {
getURL(“help.htm”, “main”);
}
[/AS]
It seems correct to me, I think I’ve tried everything, yes the swf and help.htm are in the same directory.