[ActionScript][错误]赋值运算符的左侧必须是变量或 属性

[ActionScript][ERROR]Left side of assignment operator must be variable or property

我一直在研究闪存寄存器,但我一直收到一条错误消息 Line 170 and Line 174 Left side of assignment operator must be variable or property.

函数如下

 function nextView()
 {
   this.__set__currentViewIndex(++this.__get__currentViewIndex()); //Line 170
 } 
 function prevView()
{
   this.__set__currentViewIndex(--this.__get__currentViewIndex()); //Line 174
} 

Nvm 我修好了。 this.__set__currentViewIndex(this.__get__currentViewIndex()+ 1); 是修复