1 Reply Latest reply on Mar 10, 2010 12:06 AM by Michael Thornburgh

    Plz Help-Not getting stratus connection




      we got successful connection last week to stratus.after that,we are not able to get connection.Can any one tell me whether it is stratus side problem or in our side?


      I checked in http://cc.rtmfp.net/, but not connecting.


      Plz help...We want to know,where the problem is ?



      reply soon...


      Ad thanx


      This is my code:



      <?xml version="1.0" encoding="utf-8"?>


      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="connect()">








              import flash.events.NetStatusEvent;
              import flash.net.NetConnection;
              import mx.controls.Alert;
              private const StratusAddress:String = "rtmfp://stratus.adobe.com";
              private const DeveloperKey:String ="Developer Key";
              private var nc : NetConnection;
              private function connect():void
                  nc = new NetConnection();
                 nc.addEventListener(NetStatusEvent.NET_STATUS, netConnectionHandler);
                  nc.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErr);
                  nc.connect(StratusAddress+ "/" +DeveloperKey);
              private function netConnectionHandler(event:NetStatusEvent):void
           switch (event.info.code)
           case "NetConnection.Connect.Success":
            t1.text = event.info.code;
             t2.text = nc.nearID;                                
             case "NetConnection.Connect.Failed":
             Alert.show("Connection Failed");
               t1.text = "Failed";

              case "NetConnection.Connect.Rejected":
            Alert.show("Connection Rejected");   
               case "NetStream.Play.StreamNotFound":                                
                Alert.show("Stream not Found", "Error");


              private function asyncErr(event:AsyncErrorEvent):void




          <mx:TextArea x="226" y="41" width="50%" id="t1"/>
          <mx:TextArea x="226" y="110" id="t2" width="407"/>
          <mx:Text x="150" y="41" text="Status" height="44" width="68" fontWeight="bold" fontSize="15"/>
          <mx:Text x="159" y="110" text="ID" width="44" height="44" fontWeight="bold" fontSize="15"/>