Hi,
i have a flex application with charts and it has some public variables 
defined on top of the application.

Is there a way, i can reset all the variables to its default values? 

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
<mx:Script><![CDATA[
                [Bindable]
                public var hAxisShowLabels:Boolean = true;
private function foo():void {
   hAxisShowLabels = false;
}
private function fooinitialize():void {
  //initialize back all the variables to its default values..
  //is there something like invalidateproperties or something like that.
  //basically what i need is to redraw a chart starting from first
}
]]></mx:Script>         



Reply via email to