You are right mate :) That solved my problem, thank you a lot :)
--- In flexcoders@yahoogroups.com, "Muzak" <[EMAIL PROTECTED]> wrote: > > You're trying to change the label of a component instance that has not been created yet. > > You should actually get the following error: > > TypeError: Error #1009: Cannot access a property or method of a null object reference. > at flexTest3/::changeLabels() > at flexTest3/___Button2_click() > > Check the docs for "creationPolicy". > http://livedocs.adobe.com/flex/2/langref/mx/core/Container.html#creationPolicy > > And here's an interesting read about deferred instantation: > http://www.adobe.com/devnet/flex/articles/client_perf_06.html > > regards, > Muzak > > ----- Original Message ----- > From: "astronaute75" <[EMAIL PROTECTED]> > To: <flexcoders@yahoogroups.com> > Sent: Sunday, April 08, 2007 9:57 PM > Subject: [flexcoders] FLEX 2 Bug ?? > > > Hello, > > Check this simple example : > > http://astronaute.net/_temp/flex/flexTest3/flexTest3.html > source : > http://paste.sharewonders.com/Default.aspx?fv=9aae6eca-becf-4c44-8797-0974e44c2852 > > if you first click on CHANGE LABELS, only the label in first view is > changed ! > > BUT, if you first change views and then click on CHANGE LABELS, both > are changed ! > > Whats up, another bug ?? > > Thank you for helping, i need to be able to change labels in different > views, language implementation... > :) >