Menu

Smooth Sequences

Help
kranzoky
2007-01-09
2013-04-01
  • kranzoky

    kranzoky - 2007-01-09

    I have been using the Animation Package for quite a while and it is great! (Nice job Alex).

    But, I have a question about sequences. I quite often have a case where I need to fade up multiple elements (for example buttons). So I need to fade each one up one by one. This is easy using callbacks... but is there a way to do it so that the first button will fade up and then the second one will start fading up when the first button is half way done? That way the whole animation of buttons fading up will be a lot smoother. Right now, I have it so the first button fades up and the second one starts when the first one is fully done... but that is not very smooth.

    Thanks for your help.

    -- K

     
    • Alex Uhlmann

      Alex Uhlmann - 2007-01-10

      Hi K,

      great that you enjoy AP.

      Have you checked out the Animation class? I think this can exactly do what you want since you can specify start and end values in duration (MS or FRAMES) for each child. However, if you've got a better API in mind, let us know.

      Alex

       
    • kranzoky

      kranzoky - 2007-02-08

      Thanks Alex. That worked.

      By the way, nice AS3 audio player. I checked that out the other day.

      -- K

       

Log in to post a comment.