var conn:NetConnection = new NetConnection();
conn.addEventListener(NetStatusEvent.NET_STATUS, trace);
conn.addEventListener(IOErrorEvent.IO_ERROR, trace);
conn.addEventListener(SecurityErrorEvent.SECURITY_ERROR, trace);
conn.addEventListener(AsyncErrorEvent.ASYNC_ERROR, trace);
conn.connect("h ttp://anything.com ")
I am trying to use NetConnection (amfphp), but it isn’t working (nothing traces).
At least it should say that connection has failed/succeded…