/* this is where things stop working */ returnMessage. session = session;
as in the object returnMessage at session now equates to the last element of the var 'session'. ----- Original Message ---- From: Sherif Abdou <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, September 2, 2008 3:16:24 PM Subject: Re: [flexcoders] Sending Form Data What do you mean by it stops working? I tested it and it works. ------ Sherif Abdou http://VadexFX. com http://Sherifabdou. com ----- Original Message ----- From: Cordova Aaron To: [EMAIL PROTECTED] ups.com Sent: Tuesday, September 02, 2008 4:54 PM Subject: [flexcoders] Sending Form Data I create a script that can generate forms on the fly. I run into a snag when sending the data back. For instance if one of the fields being returned is an array. example: var returnMessage: Object = new Object. returnMessage. formid = "123"; returnMessage. address = "345 W. FlexCoder Ave"; returnMessage. city = "Las Vegas"; public var session:Array = new Array; session.id = "123"; session.user = "some_user"; session.time = "the_time"; /* this is where things stop working */ returnMessage. session = session; So If I need to return all my form fields along with some data that may be in an array, how do I go about that?

