PDA

View Full Version : [CS4] NetConnection broken?



Felixz
December 15th, 2008, 07:41 AM
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...

dail
December 15th, 2008, 01:47 PM
I've had it working here with my copy of CS4

Felixz
December 15th, 2008, 06:04 PM
Strange, I have downloaded a trial from Adobe and I get nothing from that code.