Hello there,
I have a class called which is called ChartInfo,and it has a getter and setter methods as:
[Bindable]
public function set isShowingPower(b:Boolean):void
{
_isShowingPower = b;
hasChanged();
}
public function get isShowingPower():Boolean
{
return _isShowingPower;
}
The _isShowingPower is the property.
However,if I want to set the _isShowingPower from another class:
_chartInfo.isShowingPower(false)
It will always give error like: 1195: Attempted access of inaccessible method isShowingPower through a reference with static type components.charting:ChartInfo.
Could anyone give an idea?Thanks a lot.