if the swLiveConnect=true does not work, then why not just pass the variable through a parameter in the Flash Object tag?
If you can use PHP or ASP, then do so and use the below code...
in your javascript code that opens the popup window:
window.open("flash.asp?n1s
in the flash.asp page, you would then just use some code like this at the top:
<%
dim n1s
n1s = Request.QueryString("n1s")
%>
then you can pass this variable to your SWF in the object tags like this:
<OBJECT classid="clsid:D27CDB6E-AE
codebase="http://download.
WIDTH="550" HEIGHT="400" id="myFlash" ALIGN="">
<PARAM NAME=movie VALUE="test2.swf?n1s=<%= n1s %>"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="test2.swf?n1s=<%= n1s %>" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400" NAME="myFlash" ALIGN=""
TYPE="application/x-shockw
</OBJECT>
this will pass the variable "n1s" to the Flash movie, and then you would just reference it by using "_root.n1s"
rp
Main Topics
Browse All Topics





by: rexmorPosted on 2003-06-10 at 17:24:23ID: 8695477
Try adding "swLiveConnect=true" like...
ave-flash" PLUGINSPAGE="http://www.ma cromedia.c om/go/getf lashplayer ">
<EMBED src="test2.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400" NAME="myFlash" ALIGN="" swLiveConnect=true
TYPE="application/x-shockw
</EMBED>
hope this helps,
rexmor