RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-18 Thread Gordon Smith
Of Tracy Spratt Sent: Friday, November 14, 2008 5:38 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Calling functions with optional parameters If you pass a null value to an optional parameter, the function uses the default values defined in the declaration. ?xml version=1.0

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-18 Thread Gordon Smith
. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Tuesday, November 18, 2008 1:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Calling functions with optional parameters This produces the compilation

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-18 Thread Tracy Spratt
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Tuesday, November 18, 2008 4:25 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Calling functions with optional parameters If you pass a null value to an optional

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-17 Thread Tracy Spratt
] Re: Calling functions with optional parameters --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tracy Spratt [EMAIL PROTECTED] wrote: If you pass a null value to an optional parameter, the function uses the default values defined in the declaration. Great, Tracy. Way

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-14 Thread Gordon Smith
Subject: [flexcoders] Re: Calling functions with optional parameters --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Maciek Sakrejda [EMAIL PROTECTED] wrote: Amy, Fotis is right--if you want to specify a param that has a default, you need to specify all parameters

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-14 Thread Gordon Smith
Optional parameters must come after required parameters. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Friday, November 14, 2008 2:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Calling functions with optional

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-14 Thread Tracy Spratt
]]/mx:Script mx:Button label=test click=doTest() / /mx:Application Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Friday, November 14, 2008 5:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Calling functions with optional parameters