title: looping through object property names in actionscript
body: <p>I have a dynamic class that I have created</p>
  
  <pre><code>public dynamic class SiteZoneFileUploadVO
  {       
      public var destination:String = "sitezone";
      public var siteZoneId:uint;
      public var fileType:String;
      public var fileContents:String;
  
      public function SiteZoneFileUploadVO()
      {
      }
  
  }
  </code></pre>
  
  <p>when I try to iterate over this object's <strong>property names</strong> it only iterates the dynamically added properties.</p>
  
  <pre><code>        parameters.dynVar= "value";
  
          for(var name:String in parameters) 
          {
              trace(name);
          }
  </code></pre>
  
  <p>Even though the object has all the properties equal to a value (ive checked this in the debugger) the only <strong>property name</strong> that will be traced is dynVar.</p>
  
  <p>How can I iterate over all the <strong>property names</strong> and not just the dynamically added ones?</p>