Skip navigation
Mike_LJCreate
Currently Being Moderated

Is there a way to customise new Class code?

Nov 15, 2012 2:01 AM

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

 
Replies

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