PDA

View Full Version : Pop-Up Back Button



willdrury
December 11th, 2005, 07:23 PM
I have a few pop-ups on my site and want to have buttons on them which send the user back to the main flash movie on a certain frame.

I have this script on my button in the pop up...

on(press){
getURL("javascript: window.opener.dosomething()")
}

and this code in the html of my main site...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> (http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd)
<html xmlns="http://www.w3.org/1999/xhtml" (http://www.w3.org/1999/xhtml) xml:lang="en" lang="en">
<head>
<script language="JavaScript">
function dosomething(658) {
liveoclothing.swf.GotoFrame(658);
liveoclothing.swf.Play();
}
</script>
<link rel="shortcut icon" href="favicon.ico" >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>LiVe 'O' cLoThInG.cOm</title>
<style type="text/css">
<!--
body {
background-image: url();
background-color: #000000;
}
-->
</style></head>
<body>
<!--url's used in the movie-->
<!--text used in the movie-->
<table width="100%" height="100%">
<tr>
<td align="center" valign="middle"><object classid="clsidhttp://www.macromedia.com/webforums/forum/images/i/expressions/face-icon-small-happy.gif27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" (http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0) width="700" height="550">
<param name="movie" value="liveoclothing.swf" />
<param name="quality" value="high" />
<embed src="liveoclothing.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" (http://www.macromedia.com/go/getflashplayer) type="application/x-shockwave-flash" width="700" height="550"></embed>
</object></td>
</tr>
</table>
</body>
</html>

but nothing happens when the button is pressed.
Any ideas?