[AS3.0] Listener at change of variable value

[FONT=Ubuntu, Lucida Grande, Trebuchet MS, Verdana, Helvetica, Arial, sans-serif][COLOR=#101010]Hi to everybody,
How can i create a listener for listening the change value of a variable?

exsample:


[/COLOR][/FONT][COLOR=#000000][FONT=monospace]var obj : MyClass = new MyClass(); [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]obj.myNumber = 10; [/FONT][/COLOR]

[COLOR=#000000][FONT=monospace]obj.addEventListener(MyEvent.CHANGE_VALUE, myFunc); [/FONT][/COLOR]

[COLOR=#000000][FONT=monospace]obj.[/FONT][/COLOR][COLOR=#000000][FONT=monospace]myNumber[/FONT][/COLOR][COLOR=#000000][FONT=monospace] = 25;[/FONT][/COLOR][FONT=Ubuntu, Lucida Grande, Trebuchet MS, Verdana, Helvetica, Arial, sans-serif][COLOR=#101010]

[/COLOR][/FONT]