2 Replies Latest reply on Aug 7, 2014 9:28 PM by ianloh123

    Can different symbols share the same trigger?

    ianloh123 Level 1

      Hi!

      i have 4 buttons all animated on the same timeline. Each is text that's converted into a symbol.

       

      buttons.jpg

       

      i used sym.getSymbol("about").play("over"); for each with their respective symbol names in the hopes that each with trigger individually, but mousing over one triggers the rest too.


      Can anyone point me in the right direction pls? Thx!

       

        • 1. Re: Can different symbols share the same trigger?
          Jason_Link Level 1

          Hey Mate,

          sym.getSymbol("about").play("over" ); is asking to play a timeline from a symbol called "about".


          However this isn't what is set up.


          if you were type sym.play("over"); what you'll find is that all of the contact/gallery etc will animate.


          you need to create a symbol for each button and copy those triggers and animations details into that symbol OR if you want to use the stage timeline (recommend only if a basic comp or site) then spread those animations out and triggers. 


          i.e aboutOver and galleryOver


          Best to create individual symbol for each button and then click on "open actions' for each of those buttons and add the mouse enter / mouse leave / click actions there.



           

           


          • 2. Re: Can different symbols share the same trigger?
            ianloh123 Level 1

            Thx a lot for clearing that up Jason!

             

            I guess that's a lesson in laziness for beginners like myself.