Ha! That works just fine. Thanks for reminding me Glen.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike Sent: Friday, February 29, 2008 2:49 AM To: Flash Coders List Subject: Re: [Flashcoders] [AS3] optional parameters - sansdefaults for Boolean/Number/int Hi, You can have * to specify any parameter: function myFunc(param1:Boolean, param2:*); Matthew Houliston wrote: > don't you mean > > function test2 ( a:Boolean = false ) > { > trace( "a: " + ( a == true ) ); > } > > ? > > > A Boolean is never null. > > var b:Boolean; > trace(b); _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders