PDA

View Full Version : DataGrid resize with actionscript


christuf
10-20-2004, 06:09 PM
Can't find a way to resize my DataGrid component with AS.
mydatagrid._width = n break the proportions; it scales the MC.

Any idea?
Regards.

annexion
10-21-2004, 04:46 AM
dataGrid.setSize(n,m);

All UI components have this method. It's inherited from the UIcomponent class, I believe.

christuf
10-21-2004, 08:11 AM
Great !

Thanks