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?