Skip to main content
Participating Frequently
September 5, 2013
Question

Custom function in Servside application

  • September 5, 2013
  • 1 reply
  • 497 views

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 has been closed for replies.

1 reply

Known Participant
September 5, 2013

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

}