6 Replies Latest reply on Aug 12, 2010 7:56 PM by nater30303

    i need help for my fading out,in animation : how to add a link to your animation ?

    nater30303

      i really want to know how to add link to your animation .

      well when i passe the mouse over my animation it stops and when i leave it the animation continue... but what i want when the mouse over the animation i want to click on the animation and to bring me to a link.

      here is my code and i will really appreciate any help ... thanks so much in advance.

       

      function stopFade(event:MouseEvent)
      {
      container.stop();
      }
      function resumeFade(event:MouseEvent)
      {
      container.play();
      }
      function aller(event:MouseEvent)
      {
      getURL(www.google.com);
      }

      container.addEventListener(MouseEvent.MOUSE_OVER,stopFade);
      container.addEventListener(MouseEvent.CLICK,aller);
      container.addEventListener(MouseEvent.MOUSE_OUT,resumeFade);