Yes, but you often initialise a class instance with properties.
And it's more convenient to write...
instead ofCode:var coords:PinPoint = new PinPoint(10,20);
when creating an instance of the class in the swf.Code:var coords:PinPoint = new PinPoint(); coords._x = 10; coords._y = 20;




Reply With Quote