I learn new thing (may be a bug) in Flex that the bindable number variable cannot be pass as an argument to other function along with increment or decrement operator. If I have to pass the number then first I have to use incr/decr operator and then have to pass the number. It works fine if I remove variable as bindable. Below is the code which fails to compile
private var number:Number = 0;
private function initApp():void
// number++; // increment here and then pass simple number will work fine.
private function addNumber(num:Number):void
Any thoughts are welcome!