warning: unable to bind to property 'otherfilenumber' on 
class 'accidents.ModuleCode::accidentsGeneralModel

How should I understand that?

my form:
...
<moduleCode:accidentsGeneralModel id="modelGeneral"/>
...
<mx:FormItem label="File Number">
                    <mx:TextInput 
text="{modelGeneral.otherfilenumber}" id="otherfilenumber" 
width="72"/>
                </mx:FormItem>

package accidents.ModuleCode
{
        public class accidentsGeneralModel
        {
        private var _otherfilenumber:int = 0;
        
        [Bindable]
        public var modelValid:Boolean = false;
        
        public function get otherfilenumber():int
        {
            return _otherfilenumber;
        }

......

Reply via email to