hi
when i try do use the delegate such like :
if( typeof this.del == "undefined" ) {
this.del = new LzDelegate(this, "connect('chat', conn, true)" );
}
this.del.register(conn,
"netStatusHandler('NetConnection.Connect.Success')" );
}
I m getting the error on the debug like :
*soChat.connect('chat', conn, true) => (void 0) (must be a function)*
Actually i want to do this : call the *connect* method on the class when
the netStatusHandler method of the *conn* object has been completed. I m not
sure that am i using the delegate correctly (as i m getting the error, of
course not :)).
I have attached the relevant files.
Can anyone help me what i m missing to do.
Kind regards.
--
Cem SONMEZ
sharedObject.lzx
Description: application/octet-strem
connection.lzx
Description: application/octet-strem
