Extending Flash |
|
|
|
| Objects > Element object > element.width | |||
Flash MX 2004.
element.width
Property; a float value that specifies the width of the element in pixels.
|
NOTE |
Do not use this property to resize a text field. Instead, select the text field and use |
The following example sets the width of the specified element to 100:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].width= 100;
|
|
|
|