6 Replies Latest reply on Jan 12, 2015 10:53 AM by resdesign

    Trouble detecting labels on timeline

    HaukurPalss

      Hi!

       

      I'm having trouble with labels on my timeline. I'm doing a simple animation that animates when a users arrow hovers over it. I've already done this without trouble in an older version of Edge (where you could type in the actions) and it worked out fine using two labels (intro and outro) linked to mouseover and mouseout.

       

      In the current version (2014.1.1) I can't type into the actions window and Edge isn't detecting any of my labels so I can't create the hover state.

       

      Am I doing something horribly wrong or is this a bug?

        • 1. Re: Trouble detecting labels on timeline
          resdesign Adobe Community Professional & MVP

          Not sure what you mean. If you have labels on the timeline and want to add code at that spot, all you need to do is use ctrl-T (cmd-t) to open the code window. You can also use the label names in any code window to access them.

          • 2. Re: Trouble detecting labels on timeline
            HaukurPalss Level 1

            Thank you for your reply and sorry for the bad explaining.

             

            The code window is where I'm having the problem. I've placed two separate labels on my timeline but when I open the code window with the intent of assigning 'mouseover' to play 'label1' and 'mouseout' to play 'label2' neither of the labels show up.

             

            The only thing that I can select in the code window is the symbol within wich the animation is contained.

             

            I used the exact same method in an earlier version of Edge and it worked out splendid. In that version I could just type in the labels in the code window but this version won't allow me that.

             

            One might assume that this is a problem with how I've structured my document but it's exactly the same as the one I did a couple of days ago and that worked fine.

             

            Is there any possibility that this is a bug?

            • 3. Re: Trouble detecting labels on timeline
              So Motion

              You might be inserting the label incorrectly?

               

              Correct syntax = sym.play("labelExample");

              Incorrect syntax = sym.play(labelExample);

               

              Any help?

              • 4. Re: Trouble detecting labels on timeline
                resdesign Adobe Community Professional & MVP

                No this is not a bug. I think you may not do it right.

                If you have an element or a symbol on which you want to add events, you select them and then choose the event you want and add the code.

                You can also place your code in compositionReady with something like this:

                 

                sym.$('elementName').bind('mouseenter',function(){

                // code here to play label

                sym.play('labelName');   // plays the main timeline

                sym.getSymbol('symbolName').play('labelName');  // play a symbol's timeline

                });

                • 5. Re: Trouble detecting labels on timeline
                  HaukurPalss Level 1

                  I got it to work, thanks for all the help!

                   

                  My mistake was assuming that the labels would show up on the list where 'symbol' was. Also didn't realize that I had to double click the list item before being able to edit the code window.

                   

                  Thanks for all the help!

                  • 6. Re: Trouble detecting labels on timeline
                    resdesign Adobe Community Professional & MVP

                    No problem. Good luck on your project!