I beleave i have done everything that it says i need to do in the tut but i cant get the pop up window to open can someone have a quick look at the code and tell me where im being a fool as i cant find whats wrong with it.
if i click on the button on the tutoral’s example, that pop up works fine.
These are big differences when it comes to code! The difference is in a function defintion vs. calling a function, and it looks like you are combining the two.
To define a function, you declare what variables will be passed, so:
function Launch(url, width, height)
{
// code to open the window
}
defines a function that takes 3 parameters. What you have is literal arguments in the function defintion… which isn’t legal. You use the parameters ‘www.yahoo.com’, 500, 400 when you call the function such as:
<body bgcolor=“#ffffff”>
<!–url’s used in the movie–>
<!–text used in the movie–>
<!-- saved from url=(0013)about:internet –>
<object classid=“clsid:d27cdb6e-ae6d-11cf-96b8-444553540000” codebase=“http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0” width=“300” height=“200” id=“centeredPop” align=“middle”>
<param name=“allowScriptAccess” value=“sameDomain” />
<param name=“movie” value=“centeredPop.swf” /><param name=“quality” value=“high” /><param name=“bgcolor” value=“#ffffff” /><embed src=“centeredPop.swf” quality=“high” bgcolor=“#ffffff” width=“300” height=“200” name=“centeredPop” align=“middle” allowScriptAccess=“sameDomain” type=“application/x-shockwave-flash” pluginspage=“http://www.macromedia.com/go/getflashplayer” />
</object>
</body>
</html>
[/SIZE]
can you now tell me what i should change to get yahoo.com to show in a pop up windows as looking at what kirupa says to change mine looks ok but yes its not working so im missing something so could you help please by telling me what i should have in the html as i think thats the only way im going to understand what you are trying to tell me here