PDA

View Full Version : creating loadVariables file with asp


kearns
04-30-2002, 05:36 PM
In flash I call: loadVariables("variables.asp", 0, "POST");

The asp file creates the string of variables to send back to flash.

This works for strings like &var1=23.98&, but not for
Strings like: &var1=<% newvar1 %>&, newvar1 gets set by the asp code.

The asp evaluates correctly when tested in the browser, but in flash var1 is "< newvar1".

Any thoughts?

tg
05-01-2002, 04:18 PM
try:
&var1=<%= newvar1 %>&
or
&var1=<% response.write(newvar1) %>&

both should do the same thing.

... or:
<%
response.write("&var1="&newvar1&"&")
%>