0 Replies Latest reply on Jun 3, 2008 3:17 AM by Davide_C

    a question about arrays (to pass to a HTTPService)

    Davide_C Level 1
      Hi, is there a way to do this :

      formData["username"] = username.text;
      formData["password"] = password.text;
      formData["email"] = email.text;
      myService.send(formData);

      (where myService is a HTTPService)

      on ONE LINE :
      formData = [{username :username.text}, {password :password.text, ...} //This is just an example, I don't know how to do this...


      ?

      Thanks in advance.

      Davide