It is. As there are other aspects of the app that use the reference in  
the model successfully.

I just traced out and found out that at the time when i wanted to use  
it, that it is not yet populated.

d



On 16-Jan-09, at 3:14 PM, Paul Andrews wrote:

> Surely the progress bar is bound to the model, not part of the model  
> itself?
>
> ----- Original Message -----
> From: "dnk" <d.k.emailli...@gmail.com>
> To: "Flexcoder List" <flexcoders@yahoogroups.com>
> Sent: Friday, January 16, 2009 11:14 PM
> Subject: [flexcoders] model locator population too late
>
> > Hi there,
> >
> > I have an app that uses a model locator class.
> >
> > Now I have a component that is passed in a reference to another
> > component (A progress bar in my case).
> >
> > Now my problem is that the component is being created prior to the
> > model locator being populated with the reference to the progress  
> bar.
> >
> > So then obviously my component does not work as expected as it needs
> > that reference.
> >
> > I have no idea on how to get around this issue. I can't populate the
> > model locator (manually) any earlier as the progress bar has not yet
> > been created.
> >
> > Ideas?
> >
> > d

Reply via email to