Yep, it's the same thing except no setting of a variable first... Okay, I just wanted to make sure I couldn't simply pass a Null to it, in hopes of it not changing the existing value of the Nulled place.
Thanks! Mike -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Wednesday, April 12, 2006 6:18 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Quick setSize() question yourDataGrid.setSize ( yourDataGrid.width, 400); ----- Original Message ----- From: "Mike Anderson" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" <[email protected]> Sent: Wednesday, April 12, 2006 7:07 PM Subject: [Flashcoders] Quick setSize() question Hello all, If I am interested in only sizing a component using the setSize method - but if I only wanted to set a single parameter (width or height), how do I properly pass the variables? Can I simply do this, if I only wanted to set a single parameter? componentInstance.setSize( null, 20 ); Or am I forced to pass it valid numbers for both values? I know I could feed the function the component's existing value like this: var tempVar:Number = componentInstance._width; componentInstance.setSize( tempVar, 20 ); But that seems silly. Could anybody clarify that for me? Thanks, Mike _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

