3 Replies Latest reply on Apr 28, 2006 8:17 AM by shyaway

    Flash buttons with mouseout state

    odysseyphotography.net
      Hi there,

      I'm trying to build a navigation sysytem like this:

      http://www.bisazza.it/eng/index.html

      (the one running along the bottom of the page).

      The best I can do is here, though its not working properly:

      http://www.giraffeads.com/clients/nz/button_test_3.htm

      The flash file is here:

      http://www.giraffeads.com/clients/nz/working/navigation_280406.fla

      I'm using the following action script:

      on (rollOver) {
      this.gotoAndPlay("mouseover");
      }

      on (rollOut) {
      this.gotoAndPlay("mouseout");
      }

      on (release) {
      getURL(" http://www.odysseyphotography.net");
      }

      ..applied to an instance of the movie on the stage.

      There are a couple of issues:

      1) When you mouseover the button, the text moves downwards but doesn't remain in that position (like: http://www.bisazza.it/eng/index.html)

      2) If you move the mouse away then back again the movie restarts before finishing (resulting in jerky up and down movement)

      3) You have to get the mouse exactly over the text for it to work.. It'll be difficult to make it link to another page...

      Any assistance or links to a tutorial would be much appreciated!

      Thanks

      OP