0 Replies Latest reply on Aug 23, 2007 11:52 AM by z_0

    gotoAndPlay Problem

    z_0
      hi i'm new here and also om new in actionscript

      i'm trying to make a menu with submenu and i want when the mouse over the menu or the submenu make an effect it works when the mouse is over the menu but when the mouse go over the submenu nothing happen



      stop();
      // the menu effect
      _root.mainMovie.navBack.onRollOver = over;
      _root.mainMovie.navBack.onRollOut = out;

      function over() {
      this.gotoAndPlay(2);
      }

      function out() {
      this.gotoAndStop(1);
      }
      // the sub menu audio effect
      _root.mainMovie.navBack.audio.onRollOver = overaudio;
      _root.mainMovie.navBack.audio.onRollOut = outaudio;

      function overaudio() {
      this.gotoAndPlay(2);
      }

      function outaudio() {
      this.gotoAndPlay(7);
      }

      // the sub menu vedio effect
      _root.mainMovie.navBack.ved.onRollOver = overved;
      _root.mainMovie.navBack.ved.onRollOut = outved;

      function overved() {
      this.gotoAndPlay(2);
      }

      function outved() {
      this.gotoAndPlay(7);
      }

      thanx for your help