Sudhi, I think you can not use changewatcher in an actionscript project. I tried creating an actionscript project in flex 3 and came to know that ChangeWatcher is not available there.
Group, pls correct me if i am wrong. -Ravi On Jun 3, 4:14 pm, sudhi <forsu...@gmail.com> wrote: > Dear all, > > I have a static Bindable variable in a class like this > > package > { > public class A extends Sprite > { > [Bindable] public static var pl:Boolean = false ; > } > > } > > In some other class i have code like this > > package > { > public class A extends Sprite > { > ChangeWatcher.watch( A, "pl", watchIt()) ; > } > > public function watchIt():void > { > Alert.show("Works") ; > } > > } > > but this doesn't seem to work as i expected. > The assignments to pl is not detected and the watchIt method here is > not called. > > What am i doing wrong ?? > > Please help me with this issue. > > Thanks a lot and regards > Sudhi --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---