1 Reply Latest reply on Oct 6, 2010 11:51 AM by Claudiu Ursica

    How to refactor ActionScript code into Utility or Helper Classes ?

    Devtron Level 3



      My application is growing in size. Many of my components are now 1000+ lines of code, most of which is ActionScript functions.


      What is the best way to refactor this into classes? Are there any tutorials explaining something like this?


      I'd like to do something like "myComponent1Util" and "myComponent2Util" respectively, to handle common functions. I notice I have a lot of functions that could be refactored into smaller functional code.


      Anybody have any tips or advice before I journey down that road? It would be appreciated.