0 Replies Latest reply on Aug 21, 2012 12:17 AM by BTibiA

    Change NetConnection.client

    BTibiA

      Hi all,

       

      I'm working on a project in which i use OSMF (2.0). I have a problem: I need to change the client for NetConnection, because the server calls a method when is connected. I figure it out, I wrote that method in the NetClient class, but I don't want to use it like this. I get the client from NetConnection, using NetConnectionFactory -> NetLoader -> StreamingURLResource, but it's to late than (when NetConnectionFactoryEvent.CREATION_COMPLETE dispatches).

       

      So can somebody points me a solution to this issue?

       

      Thank you,

      Tibi