Jump to content
GreenSock

martin_33468

Members
  • Posts

    2
  • Joined

  • Last visited

martin_33468's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. There are some incorrect and badly formulated if's: Example: if ((ar = this._autoRotate)) { this._initialRotations = []; if (!(ar[0] is Array)) { this._autoRotate = ar = [ar]; } When it should be ==: if ((ar == this._autoRotate)) { this._initialRotations = []; if (!(ar[0] is Array)) { this._autoRotate = ar = [ar]; }
  2. I just downloaded the Club Greensock simply green package and when I put the code in my project I get: D:\GoogleDrive\Martin\inProgress\op\fdp\lib\com\greensock\TweenMax.as:1636:Warning: Assignment within conditional. Did you mean == instead of =? if (allTrue || (tween is SimpleTimeline) || ((isDC = (TweenLite(tween).target == TweenLite(tween).vars.onComplete)) && delayedCalls) || (tweens && !isDC)) { ^ D:\GoogleDrive\Martin\inProgress\op\fdp\lib\com\greensock\plugins\BezierPlugin.as:251:Warning: Assignment within conditional. Did you mean == instead of =? if ((ar = this._autoRotate)) { ^ D:\GoogleDrive\Martin\inProgress\op\fdp\lib\com\greensock\plugins\TweenPlugin.as:285:Warning: Assignment within conditional. Did you mean == instead of =? if ((pt._prev = pt2 ? pt2._prev : last)) { ^ D:\GoogleDrive\Martin\inProgress\op\fdp\lib\com\greensock\plugins\TweenPlugin.as:290:Warning: Assignment within conditional. Did you mean == instead of =? if ((pt._next = pt2)) { Can you fix this in the code? I can fix it myself, but it's crappy to do it all the time I update... Thanks,
×