title: Type 1046: Type was not found or was not a compile-time constant: NetworkInfo
body: <p>Just started playing with the new AIR functions NetworkInfo and NetworkInterface, but can't build ...</p>
  
  <p>This is the example I started from:
  <a href="http://tourdeflex.adobe.com/AIR2samples/NetworkInfo/networkinfo.html" rel="nofollow noreferrer">tourdeflex</a></p>
  
  <p>But these lines cause errors:</p>
  
  <pre><code>var networkInfo:NetworkInfo = NetworkInfo.networkInfo;
  var networkInterfaces:Vector.&lt;NetworkInterface&gt; = networkInfo.findInterfaces();
  </code></pre>
  
  <p>Any ideas on how to solve it?</p>
  
  <p>Thanks a lot,
  Frank</p>