# Pop-Up Back Button

**URL:** <https://forum.kirupa.com/t/pop-up-back-button/172154>\
**Category:** web dev\
**Created:** [December 12, 2005, 12:23am UTC](https://forum.kirupa.com/t/pop-up-back-button/172154 "2005-12-12T00:23:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![willdrury](https://avatars.discourse-cdn.com/v4/letter/w/5e9695/32.png) [@willdrury](https://forum.kirupa.com/u/willdrury)\
**Post date:** [December 12, 2005, 12:23am UTC](https://forum.kirupa.com/t/pop-up-back-button/172154/1 "2005-12-12T00:23:51Z")

</div>

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=“clsid ![](http://www.macromedia.com/webforums/forum/images/i/expressions/face-icon-small-happy.gif)27CDB6E-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?
