1 Reply Latest reply: Nov 15, 2012 4:43 AM by Mike_LJCreate RSS

    Is there a way to customise new Class code?

    Mike_LJCreate

      File - New - Actionscript 3 Class


      After entering a name for the new class, flash will always create a class file with this default code:
      (I have remove the white space for the purpose of this post)

       

      package  {

           public class MyClass {

                public function MyClass () {

                     //constructor code

                }

           }

      }

       

      What I want to do is customise that new class code to something like this for example:

       

       

      package  {

           public class MyClass {

                public function MyClass () {

                }

                //Public set methods

                //Public get methods

                //Public methods

                //Protected methods

           }

      }

       

      Is there an XML file tucked away in flash's directory that I can edit so flash will create the same custom class code adjusted to my liking?

       

      Thanks in advance

       

      Mike