Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

jax

Members
  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

0 Newbie

About jax

  • Rank
    Newbie
  1. Okay, I change the problematics lines like this: if (allTrue || (tween is SimpleTimeline) || ((isDC = (TweenLite(tween).target == TweenLite(tween).vars.onComplete)) && delayedCalls) || (tweens && !isDC)) { change to: if (allTrue || (tween is SimpleTimeline) || (Boolean(isDC = (TweenLite(tween).target == TweenLite(tween).vars.onComplete)) && delayedCalls) || (tweens && !isDC)) { Assign an array to another, the return value not casted automaticly to boolean! Now it's work in flashdevelop too.
  2. Thx. It's work with fla. Flashdevelop return errors, but! As I said, the assign and compare method not the best: var m:Array; var test:Array = [1,2,3]; trace((true && (m = test))); // output: 1,2,3 trace(true && Boolean(m = test)); // output: true trace(false && Boolean(m = test)); // output: false trace((true && (m = test) && true)); // output: true trace((true && (m = test) && false)); // output: false
  3. Yes, this emoticons kidding me, I fixed the trace post.
  4. Other way, the assign and compare function not the best. I make a quick test: var m:Array; var test:Array = [1,2,3]; trace(true && (m = test)); // output: 1,2,3 trace((true && (m = test) && true)); // output: true trace((true && (m = test) && false)); // output: false
  5. Hm. Okay, maybe the warnings are flashdevelop problems. But I was attach an fla version qiuck test. If I push the killAll button, tweens doesn't stop! If I use the v12 version, killAll restart the tweens.
  6. And yes, sorry, I doesn't wacth the subtitle. This is a flash as3 problem!
  7. Ah, I download from here: http://www.greensock.com/tweenmax/ I download the v12, but there are more warnings (from flashdevelop): com\greensock\TweenMax.as:1636: Warning: Assignment within conditional. Did you mean == instead of =? com\greensock\TweenMax.as:1636: Warning: Assignment within conditional. Did you mean == instead of =? com\greensock\plugins\TweenPlugin.as:158: Warning: Assignment within conditional. Did you mean == instead of =? com\greensock\plugins\TweenPlugin.as:285: Warning: Assignment within conditional. Did you mean == instead of =? com\greensock\plugins\TweenPl
  8. "When you say the tween isn't killed, do you mean that it continues to run?" Yes. Or that it doesn't fire its onReverseComplete? Yes. I made a test for you, but where can I attach? PS. that isDC = (...) was definitely not the cause of the problem. Okay, I'm just read into the code quickly... Ps. I found one another bug. I download again the as3 version. (last changelog date is 2012-06-30) There is a warning in the Tweenlite.as: com\greensock\TweenLite.as:406: Warning: Assignment within conditional. Did you mean == instead of =? (siblings = masterList[this.ta
  9. Hi guys, I have a problem with The TweenMax.killAll(true) method. Here is my example: TweenMax.to(targetQ, 2, { scaleX : 2, scaleY : 2, reversed : true, yoyo : true, repeat : 1, x : targetQ.x + (targetQ.width - 2 * targetQ.width) / 2, y : targetQ.y + (targetQ.height - 2 * targetQ.height), ease : Back.easeOut, onReverseComplete : function onReverseComplete():void { trace("complete this tween ;)"); } } ); If you make a reversed tween, it's never call the onComplete function. The tweenax documentation write this: " onComplete : Function – A function that should be called when the tween
×