6 Replies Latest reply on Jun 9, 2013 9:58 AM by resdesign

    navigator as symbol

    mirifarr Level 1

      hey all,

       

      i have a symbol act as a menu navigator, this symbol has his own animation (mouseenter, mouseout ect...)

      it has 6 links.

      i would like each click on a link to animate in another symbol

      and when clicking another link the current symbol animate out and the require symbol animate in.

       

      i have tried this code-

       

      var current = sym.getVariable("current");

      if (current != "") {

         sym.getSymbol(current).play("out");

         sym.getSymbol("symbol").play("shortIn");

      }

      else {

         sym.getSymbol("symbol").play("in");

      }

      sym.setVariable("current", "symbol");

       

       

      all works when the links are directly on stage not as symbols.

      how can i make the links work when the are inside of a symbol....

       

       

      many thanks!!!