Ask a Question related to Coldfusion Flash Integration, Design and Development.
-
colatea #1
how could FLASH call CF's struct
cfcodes:
<cffunction name="checkLogin" access="remote" returntype="struct">
<cfset returnsStruct=Structnew()>
<cfif IsUserInRole("admin")>
<cfset returnsStruct.userRole="admin">
<cfelseif IsUserInRole("user")>
<cfset returnsStruct.userRole="user">
<cfelse>
<cfset returnsStruct.userRole="none">
</cfif>
<cfreturn returnsStruct>
</cffunction>
as:
function checkLogin_Result(result) {
trace(result.userRole)}
-------------------
trace:undefined
why?
colatea Guest
-
Struct via Web services
hi all, I have a CFC function that returns a struct value and I am trying to get Flash to get the info. I can't seem to find any help on this.... -
Issues with declaring struct arrays inside of a struct
I have the following C++ code: define MAXXPAXX 64 // Pack sub component of database struct. typedef PREFIX_PACKED struct { DWORD packid;... -
Calling fun taking struct and not pointer to struct?
Robert Feldt wrote: I'm a little confused by the question... are you asking if: 1) The act of using a struct in the declaration of another... -
Fwd: Calling fun taking struct and not pointer to struct?
Related to the recent thread about nested structs and Ruby/DL here is the answer from Ruby/DL's author: So that's what I ask you: Is inlining... -
struct in asp
how can i have in asp the equivalent (in C++) of this: struct s_my_table { string name, string sexe, int age, } -
BKBK #2
Re: how could FLASH call CF's struct
Flash doesn't have the equivalent of CF's struct. Flash receives the structure as an object.
BKBK Guest
-
-



Reply With Quote

