Do calculation with binded Model data
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Model id="myModel"> <myModel> <c>{(Number(numberInput.text)) * 6 / 7}</c> </myModel> </mx:Model> <mx:Form> <mx:FormItem label="Enter a number:"> <mx:TextInput id="numberInput" text="0" /> </mx:FormItem> </mx:Form> <mx:Text text="{'Calculation: '+numberInput.text+' * 6 / 7 = '+myModel.c}" /> </mx:Application>