Ребят помогите пожалуйста. Уже 2 часа мучаюсь.
Код AS3:
this.target = arg1;
if (typeof this.vars.ease == "function")
{
_ease = this.vars.ease;
}
else
{
_ease = com.greensock.TweenNano.easeOut;
}
_propTweens = [];
this.useFrames = Boolean(arg3.useFrames == true);
var loc1:*="delay" in this.vars ? Number(this.vars.delay) : 0;
this.startTime = this.useFrames ? _frame + loc1 : _time + loc1;
var loc2:*;
if ((loc2 = _masterList[arg1]) == null || int(this.vars.overwrite) == 1 || this.vars.overwrite == null)
{
_masterList[arg1] = [this];
}
else
{
loc2[loc2.length] = this;
}
if (this.vars.immediateRender == true || this.active)
{
renderTime(0);
}
return;
}
Вот тут ему не понравилось
Код AS3:
var loc1:*="delay" in this.vars ? Number(this.vars.delay) : 0;
и все время пишет Syntax error: expecting semicolon before in. Ставлю точку с запятой все равно не работает. Почему? Заранее Спасибо!