Jump to content
Search Community

MrDevinB

Members
  • Posts

    2
  • Joined

  • Last visited

MrDevinB's Achievements

0

Reputation

  1. Ok I got that going, but is there a way to use appendMultiple to add several TweenMax.allTo? Like this. myTimeLine.appendMultiple([TweenMax.allTo(trianlge_array, 1, {transformAroundPoint:{point:new Point(-420,2090), rotation:50},ease:Linear.easeNone}), TweenMax.allTo(blue_array, 1, {transformAroundPoint:{point:new Point(-420,2090), rotation:50},ease:Linear.easeNone})]); Thanks Devin
  2. I am having some problems using TimeLineMax together with TweenMax. I just don't think that what I am trying to do is supported. I am trying to using TweenMax.allTo within a TimeLineMax append. I want an array of items to move together. Here is a sample of what I have. I am a Really Green Member. import com.greensock.plugins.*; import fl.transitions.*; import fl.transitions.easing.*; import flash.geom.Point; TweenPlugin.activate([TransformAroundPointPlugin]); var trianlge_array:Array = [green_triangle,green_txt_mask,blue_triangle,blue_txt_mask]; var myTimeLine:TimelineMax = new TimelineMax(); myTimeLine.append(TweenMax.allTo(trianlge_array, 1, {transformAroundPoint:{point:new Point(-420,2090), rotation:50},ease:Linear.easeNone})); I keep getting this error. 1067: Implicit coercion of a value of type Array to an unrelated type com.greensock.core:TweenCore.
×
×
  • Create New...