Constructor « Class « Flash / Flex / ActionScript






1.Creating a Constructor
2.Add public attribute to contrustor.
3.A class named Product with a constructor and a method
4.Constructor with parameter
5.Add assignment code to class constructor
6.Set the memeber variable in constructor
7.Declare a constructor method for the Example class