i am just wondering if this is how it usually gets used
/**
* Used to Determine whether or not there was a change in the Close Policy
*/
private var _closePolicyChanged:Boolean;
/**
* Internal Value for the ClosePolicy so we can react
* accordingly
*/
private var _closePolicy:String;
[Inspectable(defaultValue="close_always",enumeration="close_always , 
close_rollover , close_never, close_selected")]
public function set closePolicy(value:String):void{
_closePolicy=value;
_closePolicyChanged=true;
this.invalidateProperties();
dispatchEvent(new Event("closePolicyChanged"));
}
[Bindable(event="closePolicyChanged")]
public function get closePolicy():String{
return _closePolicy;
}

/**
* Create the CommitProperties so we determine if there is a need
* to change the closePolicy Buttons
*/
override protected function commitProperties():void{
super.commitProperties();
if(_closePolicyChanged){
invalidateDisplayList();
_closePolicyChanged=false;
}
}


      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

Reply via email to