Jump to content
GreenSock

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

coolhackin

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by coolhackin

  1. Sorry for the confusion, if you look closely at my code there's a bldgMC which needs playing when it reach, but i don't know how to target it to play. Inside of this bldg.MC is a timeline slideshow I put a stop() on the first frame, so basically I want to play this after the cta done executing - hope that makes sense, also is there away you can the provide how to do this in codebased? thanks a mil

     

    tl = new TimelineMax();
    tl.from(root.blackMC, .7, {alpha:0, ease:Power2.easeOut}, "-=.9");
    tl.from(root.barMC, .7, {alpha:0, y:300, ease:Power1.easeOut});
    tl.from(root.logoMC, .7, {alpha:0, ease:Power2.easeOut}, "-=.3");

    tl.from(root.rentMC, .7, {alpha:0, ease:Power2.easeOut}, "-=.3");
    tl.from(root.fromMC, .7, {alpha:0, ease:Power2.easeOut}, "-=.3");
    tl.from(root.cta_mc, .7, {alpha:0, ease:Expo.easeOut}, "-=.3");


    tl.from(root.bldgMC, .7, {alpha:0, ease:Power2.easeOut}, "-=.1");
    tl.to(root.cta_mc, .75, {scaleX:.40, scaleY:.40, repeat:-1, yoyo:true, repeatDelay:0.25, ease:Expo.easeInOut});

     

    ----------------------------------

    animate cc html5 canvas - source file

    http://chriswebstage.com/html5/pcf-rental-bnr-300x250-html5-v2.fla

    ----------------------------------

  2. Hi Guys,

     

    Need your help on my code, i have one mc which i want to tween three times, i use timelineLite, the mc should fade-in then fade-out then fade-in again but everytime i fade-in the mc for the third time it didnt show. see below code also find attached file.

     

    stop();

    import com.greensock.*;

    import com.greensock.easing.*;

     

     

    var timeline:TimelineLite = new TimelineLite({/*onComplete:playtii*/});

     

     

    //fade-in

    timeline.append(TweenLite.from(mc, 1.7, {delay:.2, _xscale:80, _yscale:80, _alpha:0, ease:Expo.easeOut}));

    //fade-out

    timeline.append(TweenLite.to(mc, .7, {delay:.2, _xscale:80, _yscale:80, _alpha:1, ease:Expo.easeOut}));

    //here will be some animation of other MCs then i want to show again the sleekMC

    //fade-in

    timeline.append(TweenLite.to(mc, 3, {delay:1, _xscale:180, _yscale:180, _alpha:1, ease:Expo.easeOut}));

     

     

    Regards,

    Chris

×