Implementing the size method

Flash calls the component's size method from the setSize() method to lay out the contents of the component. At a minimum, the size method should call the superclass's size method, as the following example shows:

function size(Void):Void {
  super.size();
}