NetStatusEvent issue

Hi, I’m using this code to connect Flash CS5 to WebORB:
import flash.display.;
import fl.events.
;
import flash.events.NetStatusEvent;
import flash.net.;
import flash.utils.
;
import fl.transitions.*;
//
var connection:NetConnection;
//
function initORB(){
var gateway:String = “http://www.domain.com/weborb30/console/weborb.aspx”;
connection=new NetConnection();
connection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
connection.connect(gateway);
}
//
function netStatusHandler(e:NetStatusEvent)
{
trace(“status entered”);
}
initORB();
The strange thing is that:

[LIST=1]
[]the netStatusHandler function NEVER gets called;
[
]but I can call any orb exposed method (that’s not possible if Flash and WebORB are not connected);
[/LIST]
The fact is that I want to know if the client is connected too.
Regards, Loto