Re: [flexcoders] Hi, how do I signal a Binding event from a class?

2010-08-19 Thread Wesley Acheson
Is the event listener in another class? public function pass():void { _grade = 'A'; } change this method to public function pass():void { grade = 'A'; } On Thu, Aug 19, 2010 at 9:11 PM, luvfotography < ygro...@all-digital-links.com> wrote: > > > Hi, how do I signal a Binding event that I ch

Re: [flexcoders] Hi, how do I signal a Binding event from a class?

2010-08-19 Thread Oleg Sivokon
If you make the class bindable, the compiler will extend it from EventDispatcher, or implement IEventDispatcher, this means you can use all event dispatcher methods in that class. However, making a class bindable isn't the best coding practice, I'd rather do it by hand, it' be a more obvious code.

[flexcoders] Hi, how do I signal a Binding event from a class?

2010-08-19 Thread luvfotography
Hi, how do I signal a Binding event that I changed a variable in a class? I've created an instance and the binding variable is not getting updated. . .?? I've got a class 'Student' , with a function 'pass' that sets the variable 'grade' to 'A' package { [Bindable] public class Student { p