Flex的set方法的赋值

Flex bean 类
package jp.co.nec.necst.pi.ap2web.bean
{
[Bindable]
    [RemoteClass(alias="jp.co.nec.necst.pi.ap2web.bean.Status")]
   
public class StatusVO
{

        private var _flg:String;
       



        public function StatusVO(){}


        public function set flg(value:String):void{
            this._flg = value;
        }


        public function get flg():String{
            return this._flg;
        }

}
}

赋值的格式是:StatusVO.flg = # flg;

而不是:StatusVO.flg(# flg);

你可能感兴趣的:(bean,Flex)