import mx.messaging.ChannelSet;
import mx.messaging.channels.SecureAMFChannel;
private var cs:ChannelSet
private function init():void {
cs = new ChannelSet();
var chan: SecureAMFChannel = new SecureAMFChannel("secure-amf", "gateway")
chan.pollingEnabled = true;
chan.pollingInterval = 3000;
cs.addChannel(chan);
channelRO.channelSet = cs;
}