我有在Adobe Flash Professional CS6一個關鍵幀的動作下面的代碼:的ActionScript:查找MAC地址不起作用代碼
var networkInterface : Object = NetworkInfo.networkInfo.findInterfaces();
var networkInfo : Object = networkInterface[0];
var physicalAddress : String = networkInfo.hardwareAddress.toString();
當我按Ctrl + Enter運行電影,我得到以下編譯器錯誤:
Scene 1, Layer 'Layer 1', Frame 2, Line 1 1120: Access of undefined property NetworkInfo.
我該怎麼做?
你導入正確的類? – putvande