Would UI components automatically catch this? On Sun, Nov 30, 2008 at 4:54 PM, Amy <[EMAIL PROTECTED]> wrote:
> --- In [email protected] <flexcoders%40yahoogroups.com>, > "lampei" <[EMAIL PROTECTED]> wrote: > > > > So how do I fire the CollectionChange event from the array so that the > > menuBar picks up that the collection has changed and to reload the > > dataProvider? > > You'd do something like this: > > [Bindable (event="myCollectionChange")] > private var myData:Array; > > And then any time you change anything in myData, you do this: > > dispatchEvent(new Event('myCollectionChange')); > > > -- Fotis Chatzinikos, Ph.D. Founder, Phinnovation [EMAIL PROTECTED],

