i have a flash-asp application that works inside of a asp-html program. the problem is that i have variables coming from flash and variables that i need from the program the flash app is running in. so i want all the values in one location (flash) which then i'll send them all out to a db.
//here i build a query string for flash to
//recieve the variables
<%
new_url="conf_bars.swf?"
new_url=new_url+"order_id="&request.QueryString("order_id"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
new_url=new_url+"&session_id="&request.QueryString("session_id"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
new_url=new_url+"&connection_id="&request.QueryString("connection_id"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
new_url=new_url+"&question_id="&request.QueryString("question_id"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
new_url=new_url+"&ip_number="&request.ServerVariables("REMOTE_ADDR"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
new_url=new_url+"&response_num="&request.QueryString("response_num"
&"&"
//then call the embedded swf with the new_url
%>
<OBJECT classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000"
codebase=" WIDTH="400" HEIGHT="400"
id="conf_bars" ALIGN="">
<PARAM NAME=movie VALUE=<%=new_url%>> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src=<%=new_url%> quality=high bgcolor=#FFFFFF WIDTH="400" HEIGHT="400" NAME="conf_bars" ALIGN=""
TYPE="application/x-shockwave-flash"
PLUGINSPAGE=" </EMBED>
</OBJECT>
//this is a view-source piece, it has everything i want.
<PARAM NAME=movie VALUE=conf_bars.swf?order_id=1&session_id=445&connection_id=944862780&question_id=1049&ip_number=111.1.1&response_num=1&>
i'm not getting any of the values in flash from the querystring, the only one i get is the ip_number which i'm requesting ServerVariables. another thing is that if i put dummy variables in like; &order_id=blah" flash will pick up the blah. thanks for any help.
//here i build a query string for flash to
//recieve the variables
<%
new_url="conf_bars.swf?"
new_url=new_url+"order_id="&request.QueryString("order_id"
new_url=new_url+"&session_id="&request.QueryString("session_id"
new_url=new_url+"&connection_id="&request.QueryString("connection_id"
new_url=new_url+"&question_id="&request.QueryString("question_id"
new_url=new_url+"&ip_number="&request.ServerVariables("REMOTE_ADDR"
new_url=new_url+"&response_num="&request.QueryString("response_num"
//then call the embedded swf with the new_url
%>
<OBJECT classid="clsid
codebase=" WIDTH="400" HEIGHT="400"
id="conf_bars" ALIGN="">
<PARAM NAME=movie VALUE=<%=new_url%>> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src=<%=new_url%> quality=high bgcolor=#FFFFFF WIDTH="400" HEIGHT="400" NAME="conf_bars" ALIGN=""
TYPE="application/x-shockwave-flash"
PLUGINSPAGE=" </EMBED>
</OBJECT>
//this is a view-source piece, it has everything i want.
<PARAM NAME=movie VALUE=conf_bars.swf?order_id=1&session_id=445&connection_id=944862780&question_id=1049&ip_number=111.1.1&response_num=1&>
i'm not getting any of the values in flash from the querystring, the only one i get is the ip_number which i'm requesting ServerVariables. another thing is that if i put dummy variables in like; &order_id=blah" flash will pick up the blah. thanks for any help.