Jump to content
Search Community

blackstyle

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by blackstyle

  1. import com.greensock.*;

    import com.greensock.easing.*;

     

     

     

    var section_clips = [mc01];

     

    for (var j:Number = 0; j < section_clips.length; j++)

    {

    section_clips[j].alpha = 0;

    }

     

     

     

    var portfolio_clips = [];

    for (var i:Number = 1; i <=12; i++)

    {

    portfolio_clips.push(mc01["m"+i]);

    portfolio_clips.push(mc01["m0"+i]);

    }

     

     

     

    var tl:TimelineMax = new TimelineMax({});

    tl.timeScale = 1;

     

    tl.append(TweenMax.to(mc01, 0, {alpha:1, immediateRender:false}));

     

    tl.appendMultiple(TweenMax.allFrom(portfolio_clips,

    .5, {rotationY:"180", alpha:0}, .3));

     

     

     

     

    =================================================================

     

    Please understand does clumsy English

     

    I am greensock novice. This, to me the difficulty

     

    In the above code, ["m0"+i] I -180 road rotates and would like to be.

     

    And mc02 add

     

    is to make the rotation above mc01.

     

    And the mc01 and mc02, I would like to repeat and infinity.

×
×
  • Create New...