Copy link to clipboard
Copied
I have a server side application .asc file . I want to add my own function in it and call it from client side action script . How is this possible ?
Copy link to clipboard
Copied
you can create a class with functions and give the clients Client object a reference to that class, or use Client.prototype.
i.e. this would trace the Client.id.
Client.prototype.functionName = function()
{
trace(this.id);
}