Skip to main content
christoph_allerhand
Known Participant
December 15, 2022
Question

Join two animations together

  • December 15, 2022
  • 1 reply
  • 1000 views

Hi

I worked on a animated Menu with petals. (https://community.adobe.com/t5/animate-discussions/im-kreis-angeordnetes-animiertes-menu/m-p/1335285...)

With some great help from kglad I got the menu to work the way I wanted it to.

Now I would like to go one step further and put an animation in front, which finally leads to the flower menu. I thought I could put a lot of keyframes in front of the Scene1 and put in the opening animation there. But unfortunately I didn't manage it. Where should I start?

 

Regards

Christoph

 

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    December 15, 2022

    hi again,

     

    there should be no problem with your idea except, you'll need to add this.stop() to the frame with your flower petals

    christoph_allerhand
    Known Participant
    December 16, 2022

    hi again 😉

    i will try this.

    regards

    christoph

    christoph_allerhand
    Known Participant
    December 25, 2022

    repost here if you have any problem.


    Hi
    I was succesfull

     

    I was successful.Thank you.  I was able to implement the animation in such a way that one animation merges into the other. Now a few new questions have arisen.

    I wanted the animation to only start after a click.

    I used the following code for this:

    --

    this.stop();

    function playAnimation() {
    this.play();
    }

    this.drehblume.addEventlistener("click",playAnimation.bind(this));

    --

    Unfortunately this doesn't work. The image freezes at frame 1 and clicking does not start the animation.

    2. How can I make the links use target="_self instead of target="_blank?

    3. Is it possible to use the "hand" type instead of the normal cursor when mouseover?

    https://neu.wohngrupperose.ch/images/animation/rose_animation.html

     

    All the best. Merry Christmas and a happy New Year.

     

    Regards

    Christoph