as2 oop - component - authoring time resize

hello all

im building components and im having a hard time… i find that the info concerning the creation of custom components is scarce at best… or im blind

im relying on

im trying to create something simple: i have a bouding box for my component, with a 16x16 px square in the middle. at authoring time, when i resize the component either via the property inspector for width or height, or on the stage with the free transform tool, i want the square to stay in the middle of the component.

im not sure what to do