title: Looping through a hash
body: <p>In my code below, the fields length was always 0, and I'm pretty sure there are some key-value pairs in it.</p>
  
  <pre><code>var fields = Reflect.fields(_commandMap);
  trace("mapping "+fields.length);
  </code></pre>