Adding Static Methods to a Class
/* static publicPrivateModifier function methodName([paramList]):datatype { // Method code goes here. } */ package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ Car.statcF(); } } } class Car{ static public function statcF(){ trace("static"); } }