title: converting Object to array or similar in Flex
body: <p>I'm kinda new to Flex. I have trying to send Hash from Ruby on Rails application to Flex using RubyAMF. </p>
  
  <p>Results look like this:</p>
  
  <pre><code>result (mx.utils.ObjectProxy (@22b207d9))
  |
  |--&gt;errors (object (@16c64dd1))
       |-&gt; Name -----"Name is too short"
       |-&gt; Email-----"Email has already been taken"
       |-&gt; Password--"Password is too short"
  </code></pre>
  
  <p>Which is What I wanted as I'm passing validation error messages back. I'm not sure though how to read the children of 'errors' as I don't know what they can be (so I can call errors.Name for instance) and the fact that 'errors' is being returned back as an 'object' without specific type I couldn't cast it to an Array or such in Flex to use it.</p>
  
  <p>Any ideas how I can get the children of 'errors'?</p>
  
  <p>Thanks,</p>
  
  <p>Tam</p>