![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 6.0.79.
Flash MX 2004.
componentInstance
.setSize(width
,height
)
width
A number that indicates the width of the object in pixels.
height
A number that indicates the height of the object in pixels.
Nothing.
Method; resizes the object to the requested size. You should only pass integral values to the UIObject.setSize()
or the component may appear fuzzy. This method (and all methods and properties of UIObject) is available from any component instance.
When you call this method on an instance of the ComboBox, the combo box is resized and the rowHeight
property of the contained list is also changed.
This example resizes the pBar
component instance to 100 pixels wide and 100 pixels high:
pBar.setSize(100, 100);
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |