Jump to content
Search Community

rkuk

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by rkuk

  1. when using fl tween, your tween complete event handler should take 1 parameter, namely the TweenEvent.MOTION_FINISH event.

    but using TweenLite, the tween complete event handler take 0 parameter by default. So you should give your gotcha function a default parameter.

    however, you can also add an extra property to vars used by TweenLite, which is "onCompleteParams".

  2. 1. TweenLite.from(mc,2,{scaleX:2,paused:true}); //"paused" doesn't work here

    I think the resolution is: In TweenLite.renderTime method, "this.active=true" should be put in "if(!this.cachedPaused)" block.

     

    2. var tm:TweenMax = TweenMax.to(mc, 5, { x:500, y:500, roundProps:["y", "x"],immediateRender:true} );

    tm.killVars( { y:1 } ); //This doesn't work

    I think the resolution is: In TweenMax.init method, after a prop added to the RoundPropsPlugin,if the plugin already exists, the propTweenLookup should also update. "this.propTweenLookup[prop] = this.cachedPT1;" should be added after the plugin.add mothod.

×
×
  • Create New...