title: AS3: Error #1006: value is not a function
body: <p>I got piece of code:</p>
  
  <pre><code>trace((array[0][0]));
  trace((array[0][0] is Date));
  trace((array[0][0] as Date).time());
  </code></pre>
  
  <p>and this is my output:</p>
  
  <pre><code>Fri Aug 9 12:10:00 GMT+0200 2013
  true
  TypeError: Error #1006: value is not a function.
      ...
  </code></pre>
  
  <p>I'm confused. How can I fix this?</p>
  
  <p><em>//edit:</em>
  Oh, it should be </p>
  
  <pre><code>trace((array[0][0] as Date).time);
  </code></pre>