Jump to content
Search Community

Guy Kedar

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Guy Kedar

  1. Hello,
    I'm using GSAP on Animate CC to animate a timer,
    but when I switch between browser tabs and switch back to that particular tab animation is running, animation is resuming from where it stops before switching.
    So i guess what happens is all the animations got stuck and stopped halfway through when change to another tab...
    I'd would like animation continue in background even if i changed to different tab...
    How to do it?

    I tried window.parent.addEventListener("blur",  clickOutsideCanvas); and put  tl.resume(); but it is not working for me...
    Please assist me...
     

    timer pocus blur test.fla

  2. Yes, "Frame" instead gotoAndStop(); is the correct way. I agree...

    Thanks for your help :)
    I think we find the solution


    var tl = new TimelineMax();
    tl.from(this.box, 3, {easel:{frame:25}})
      .to(this.box, 3, {easel:{frame:10}});

    I attached the example..
    I add in code .to(this.box, 1, {delay:1, gotoAndStop:20 });
    Look how smooth it is working with gotoAndStop();.. it's like he complete the empty frames...

    exmple of frame animation not from start.fla

  3. My question is simple.

    I'm using timeline at Animate CC
    I have Movie Clip at HTML that refer by "ball"
    This will run the animation frames by 5 seconds.
    All working great! But now I want to start running this animation from from 25 frame and not the first frame... How can I do it?
     

    var tl= new TimelineMax() ;
    tl.to(this.ball, 5, { gotoAndStop:50});

     

×
×
  • Create New...