1 Reply Latest reply on Feb 20, 2010 5:49 PM by suxuekun

    netConnectionHandler-its significance

    jananikrishna

      Hi  all

       

       

      nc.addEventListener(NetStatusEvent.NET_STATUS,netConnectionHandler);

       

      in the above line what does netConnectionHandler indicate

       

      please respond to me

        • 1. Re: netConnectionHandler-its significance
          suxuekun

          it's just a function name that you decide.you can use any you like.but you

          need to write the function your self

          and it will deal with netconnection status info.

           

          nc.addEventListener(NetStatusEvent.NET_STATUS,handlername);

          function handlername(event:NetStatusEvent):void

          {

            trace(event.info.code);

          }

          1 person found this helpful