Jump to content
GreenSock

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

powa

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

powa's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Here is FLA file with code and example MCs-tween.zip
  2. I have a movie clip that contains a lot of other MCs inside and actually too much to put them all in array. In old SWF times (AS2) I would just Export this movie clip as - Export for Acton Script with a Linkage to my .AS file (see the code that is now in .AS file). And then all of the inside movie clips (items) would animate as shown below. import com.greensock.*; import com.greensock.easing.*; class animate extends MovieClip { public function onLoad():Void { var item; for (item in this) { var mc = this[item]; TweenLite.from(mc, 1, {_alpha:0, _x:mc._x + 30, _xscale:5, delay: mc._x * 3/1000, ease:Circ.easeOut}); } } } Today, in HTML5 this linkage is not possible anymore. I'm trying to put this code into timeline to achieve the same effect. Is this even possible in for HTML5 ? I know that the tweenMax code needs to be adjust for AS3 usage, but that is not the issue here.
×