Setting the _x and _y positions might work OK (often it
will). But its not the correct way to do it.
V2 components extend UIObject class. So the methods and
properties of UIObject should be used to position and size your
components. This ensures that the component maintains its internal
state correctly and that you get the desired results.
To set the position use
to set size use:
componentInstance.setSize(width, height, noEvent)
(see docs for explanation of noEvent)
Other properties that your component has that isn't the same
an as2 movieclip (and many are readOnly), are
If you look up your component class in the documentation you
should check out the following headings:
Methods inherited from the UIObject class and
Properties inherited from the UIObject class