Search code examples
javaflashactionscript-3actionscriptred5

actionscript to java (red5)


I'm trying to migrate an existing actionscript program (server part) to java (red5). However, I'm blocked with the following code :

Client.prototype.requestInterview = function () { };

Does anyone know what is the equivalent of Client.prototype in red5?


Solution

  • By defining object (function in your case) in "prototype", you are basically defining class member. In your case it would be regular instance methods (public in java)