Skip navigation
Currently Being Moderated

Custom function in Servside application

Sep 5, 2013 12:11 PM

Tags: #4.5 #stream #server_behavior

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 ?

 
Replies
  • Currently Being Moderated
    Sep 5, 2013 12:37 PM   in reply to MulticastManiac

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

    }

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points