flex - Type 1046: Type was not found or was not a compile-time constant: NetworkInfo -


Just started playing with the new Air Function NetworkInfo and NetworkInterface, but it can not be made ...

This is the example I started with:

But these lines cause errors:

  var networkInfo: NetworkInfo = NetworkInfo.networkInfo; Var Network Interface: Vector. & Lt; Network Interface & gt; = NetworkInfo.findInterfaces ();  

Any ideas about how to solve it?

Thank you very much, Frank

Do they run time errors or time errors Compile?

The most common reason is that I am seeing such errors because there is a difference between SWC and Flex SDK that you are compiling against your project

< / Html>

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -