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] 
  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?



   

Reply via email to