I can't seem to connect to FCS 1.5; I continue to recieve
NetConnection.Connect.Failed messages.

package {
        import flash.display.Sprite;
        import flash.net.NetConnection;
        import flash.events.NetStatusEvent;
        public class NetConnectionExample extends Sprite {
                private var conn:NetConnection = new NetConnection();
                static private var SERVICE_URI:String =
"rtmp://fcads.mgnetwork.com/mgeneral/flash/ads/";
                
                public function NetConnectionExample() {
                        conn.addEventListener(NetStatusEvent.NET_STATUS, 
onNetStatus);
                        conn.connect(NetConnectionExample.SERVICE_URI, false);
                }
                private function onNetStatus (event:NetStatusEvent) : void {
                        trace(event.info.code);
                }
        }
}

Am I missing something?
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to