Jump to content
Search Community

mburke

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by mburke

  1. I was getting these warnings with Adobe's latest ASC 2.0 compiler. You can fix it like this Change: if (allTrue || (tween is SimpleTimeline) || ((isDC = (TweenLite(tween).target == TweenLite(tween).vars.onComplete)) && delayedCalls) || (tweens && !isDC)) { To: isDC = (TweenLite(tween).target; if (allTrue || (tween is SimpleTimeline) || ((isDC == TweenLite(tween).vars.onComplete)) && delayedCalls) || (tweens && !isDC)) { Chnage: if ((ar = this._autoRotate)) { To: ar = this._autoRotate; if (ar) { Change: if (end != null && (c = (typeof(end) === "number" || end.charAt(1) !== "=") ? Number(end) - start : int(end.charAt(0)+"1") * Number(end.substr(2)))) { To: var c:Number = (typeof(end) === "number" || end.charAt(1) !== "=") ? Number(end) - start : int(end.charAt(0)+"1") * Number(end.substr(2)); if (end != null && c) { Change: if ((pt._prev = pt2 ? pt2._prev : last)) { To: pt._prev = pt2; if ((pt._prev ? pt2._prev : last)) { Change: if ((pt._next = pt2)) { To: pt._next = pt2; if (pt._next) { Obviously you'll have to reapply these fixes every time you update your Greensock library. Alternatively you can go back to using the old Flex compiler.
×
×
  • Create New...