I have a web service that returns a structure of id and message.
eg returnStruct.id = 9
returnStruct.message = "Record saved"
In Flash, in the schema for the web service component it is displaying
It was displaying
<- results: Array
<- [n]: mapItem
<- key: String
<- value: String
I have since change the CF code to
<cfset returnStruct = structNew()>
<cfset StructInsert(returnStruct, "id", ARGUMENTS.r_id, true)>
<cfset StructInsert(returnStruct, "message", "Record has been saved.",
true)>
and now I get:
<- results:map/Struct
In actionscript, how can I access that returned values?
Thanks in advance.
Regards,
Andrew Mercer
Senior Developer
Power Business Systems
7 Aberdeen Street
Perth WA 6000
T: +61 8 9221 1182
F: +61 8 9325 5198
E: [EMAIL PROTECTED]
W: www.power.net.au
Speak with us today about Skillsoft e-Learning, and how an integrated e
learning solution
can deliver tangible results for your training program.
SkillSoft is the world's largest e-Learning provider. www.skillsoft.com
CAUTION -
This message may contain privileged and confidential information intended
only for the use of the addressee named above. If you are not the intended
recipient of this message you are hereby notified that any use,
dissemination, distribution or reproduction of this message is prohibited.
If you have received this message in error please notify Power Business
Systems immediately. Any views expressed in this message are those of the
individual sender and may not necessarily reflect the views of Power
Business Systems.
---
You are currently subscribed to fugli as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004