Jump to content
Search Community

ukla

Members
  • Posts

    78
  • Joined

  • Last visited

Everything posted by ukla

  1. The x property is getting overwritten visually on the stage. Meaning ... _holder.content_mc arrives in its proper x position. But clearly something is running in the background because onComplete is being called twice at different intervals. Make sense?
  2. TweenMax V11 If I call the "moveContent" function while the object (_holder.content_mc) is still tweening (x property) the onComplete function is called twice. The TweenMax documentation states: 2 (AUTO): (used by default if OverwriteManager.init() has been called) Searches for and overwrites only individual overlapping properties in tweens that are active when the tween begins. Why doesn't this work? I am tweening the x property of _holder.content_mc ... therefore the tweening of the x property is "overlapping" and should be overwritten. If I substitute "overwrite:3" for "overwrite:2" it works perfectly. OverwriteManager.init() private function moveContent(position:Number):void { var currentx:Number = _holder.content_mc.x; var speed:Number = Math.abs(position - currentx)/500; TweenMax.to(_holder.content_mc,speed,{x:position,overwrite:2,ease:Quad.easeInOut,onComplete:moveTagDown}); }
  3. Do you have your material.animated property set to "true"? If not, no tween/filter can be applied to the DO3D material.
×
×
  • Create New...