I am new to actionscript however I am not new to programming. I use flex, as3 and Flashdevelop as developing environment. I have this simple code in an external .as file and I am trying to compile it:
I get the following errors:Code:import flash.net.NetConnection; var nc:NetConnection = new NetConnection(); var clientObject:Object=new Object(); nc.client = clientObject;
What am I missing? Thank you for any help.C:\wamp\www\flashdevelop test\src\flashdeveloptest.as(12): Error: Access of undefined property nc.
nc.client = clientObject;
C:\wamp\www\flashdevelop test\src\flashdeveloptest.as(12): Error: Access of undefined property clientObject.
nc.client = clientObject;
Build halted with errors (fcsh).
(It does not help to put 'public' before 'var' inte the variables.)


Reply With Quote