我一直在开发Flash寄存器,但我收到的错误是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
}
答案 0 :(得分:0)
Nvm我修好了。 this.__set__currentViewIndex(this.__get__currentViewIndex()+ 1);
是修复