4 Replies Latest reply on Nov 2, 2009 12:25 PM by ofirshabtai

    NetStream error 2126 netconnection must be connected

    ofirshabtai

      Hi,

       

      I am trying to publish a stream using Stratus. I am using Flash 10.

      I create a new NetConnection and wait for connection success event using the eventhandler.


      When I put a breakpoint inside the eventhandler function I can see that the NetConnection connected property is false although

      event.info.code = "NetConnection.Connect.Success"

       

      When I try to create the new NetStream i get error 2126 : netconnection must be connected.

       

      What am I doing wrong?

       

       

      Your help is appreciated.

      Ofir