Skip to main content
Participating Frequently
Sep 5, 2013 7:11 PM UTC
Question

Custom function in Servside application

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 ?

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Known Participant
Sep 5, 2013 7:37 PM UTC

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);

}

Translate