This content has been marked as final.
Show 4 replies
-
1. Re: hw to call the javascript function
AScracker Jan 14, 2008 10:58 AM (in response to AScracker)if i wriiten the code like this then it's working fine...
<html>
<head>
<title>zoom</title>
<script language="JavaScript">
function OpenPopUpWindow(page) {
OpenWin =this.open(page, "newwindow1", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=380,height=620");
}
</script>
</head>
<body bgcolor="#FFFFFF">
<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="1000" height="650" id="flashObject" align="middle">
<param name="allowScriptAccess" value="always" />
<param name="movie" value="zoomin.swf" />
<param name="quality" value="best" />
<param name="bgcolor" value="#ffffff" />
<param name="menu" value="false" />
<embed src="zoomin.swf" quality="high" bgcolor="#ffffff" menu="false" width="1000" height="650" name="flashObject" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage=" http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>
can any help me where i did that mistake..... -
2. Re: hw to call the javascript function
clbeech Jan 14, 2008 11:00 AM (in response to AScracker)did you import the class in the AS doc?
import flash.external.*; -
3. Re: hw to call the javascript function
AScracker Jan 14, 2008 11:13 AM (in response to clbeech)yes i have already imported that class file .... -
4. Re: hw to call the javascript function
clbeech Jan 14, 2008 12:49 PM (in response to AScracker)perhaps you need to use:
OpenWin = window.open(page, ...);

