• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Custom function in Servside application

New Here ,
Sep 05, 2013 Sep 05, 2013

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 ?

Views

457

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 05, 2013 Sep 05, 2013

Copy link to clipboard

Copied

LATEST

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

}

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines