I am using code from the example provided on the Stratus project page,
and am trying to modify the code that sets the client property on a
netstream.

The code as delivered does something to this effect:

var sc:Object = {};
sc.onPeerConnect = function ():void {}
stream.client = sc;

I am trying to change this to:

var sc:CustomClient = new CustomClient();
stream.client = sc;

However, the functions on the CustomClient are never being called.

Has anyone encountered this, and how did you solve it?

Thanks.

Reply via email to