baigorri
02-19-2003, 09:00 PM
Is it possible to return more than one result from a cfm page into flash?
here's a sample of whats on the cfm page
<cfif loginQuery.recordcount lt 1>
<cfset flash.result = error>
<cfelse>
<cfset flash.result = cf_uname>
<cfset flash.anotherVar = "something">
</cfif>
here's the function that handles the results in flash
function flashlogin_Result(message) {
trace(message);
trace(anotherVar);
}
anotherVar is undefined when traced.
How do I bring in "anotherVar" into flash as well?
this is probably really simple, and I will slap myself when I get the answer so don't hesitate to answer
Chris
here's a sample of whats on the cfm page
<cfif loginQuery.recordcount lt 1>
<cfset flash.result = error>
<cfelse>
<cfset flash.result = cf_uname>
<cfset flash.anotherVar = "something">
</cfif>
here's the function that handles the results in flash
function flashlogin_Result(message) {
trace(message);
trace(anotherVar);
}
anotherVar is undefined when traced.
How do I bring in "anotherVar" into flash as well?
this is probably really simple, and I will slap myself when I get the answer so don't hesitate to answer
Chris