Re: [flexcoders] hi! this examples didn't work out,please help

2008-11-06 Thread Tom Chiverton
On Wednesday 05 Nov 2008, Gordon Smith wrote: > Declaring > > public var myFirstProperty:String; > > is equivalent to declaring > > public var myFirstProperty:String = null; Yup, but certainly for ArrayCollection, if you create it null rather than empty, it breaks. So it's a good habit to

RE: [flexcoders] hi! this examples didn't work out,please help

2008-11-05 Thread Gordon Smith
: flexcoders@yahoogroups.com Subject: Re: [flexcoders] hi! this examples didn't work out,please help On Wednesday 05 Nov 2008, ashlytu wrote: > [Bindable] > public var myFirstProperty:String; You should always give public Bindables a de

Re: [flexcoders] hi! this examples didn't work out,please help

2008-11-05 Thread Tom Chiverton
On Wednesday 05 Nov 2008, ashlytu wrote: > [Bindable] > public var myFirstProperty:String; You should always give public Bindables a default value: [Bindable] public var myFirstProperty:String=''; -- Tom

RE: [flexcoders] hi! this examples didn't work out,please help

2008-11-05 Thread Tracy Spratt
. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ashlytu Sent: Tuesday, November 04, 2008 10:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] hi! this examples didn't work out,please help when I read "the

[flexcoders] hi! this examples didn't work out,please help

2008-11-05 Thread ashlytu
when I read "the Essential guide to flex 3" from page 87 to 95, there is a example , in the application MXML ,the code is http://www.adobe.com/2006/mxml"; layout="absolute" xmlns:local="*"> and in the component file :MyFirstComponent ,is just these code belo