2 Replies Latest reply on Jun 4, 2006 11:52 AM by Newsgroup_User

    Still troubled with movie clip!!!!!!!

    oopsidazy Level 1
      I have a button that on roll over calls a movie clip to come and i want it to go away on roll out. Here's the script:
      this is the script on the button
      on(rollOver)
      {
      if(_root.mcsea._currentframe == 1)
      { _root.mcsea.gotoAndPlay(2); }
      }
      on the movie clip i have another layer and the action is:
      mcsea.onRollOut= function()
      {
      var x:Number = _currentframe;
      if (this.x != 1) {
      this.gotoAndPlay(1);
      }
      }
      the movie clip comes on roll over but doesn't go away on roll out.
        • 1. Re: Still troubled with movie clip!!!!!!!
          kglad Adobe Community Professional & MVP
          it doesn't look like the movieclip that's undergoing the rollOver is also undergoing the rollOut. either attach both those handlers to the same movieclip or attach both to a frame and reference the same movieclip.
          • 2. Re: Still troubled with movie clip!!!!!!!
            Level 7
            "oopsidazy" <webforumsuser@macromedia.com> wrote in message news:e5u115$82h$1@forums.macromedia.com...
            >I have a button that on roll over calls a movie clip to come and i want it to
            > go away on roll out. Here's the script:
            > this is the script on the button
            > on(rollOver)
            > {
            > if(_root.mcsea._currentframe == 1)
            > { _root.mcsea.gotoAndPlay(2); }
            > }
            > on the movie clip i have another layer and the action is:
            > mcsea.onRollOut= function()
            > {
            > var x:Number = _currentframe;
            > if (this.x != 1) {
            > this.gotoAndPlay(1);
            > }
            > }
            > the movie clip comes on roll over but doesn't go away on roll out.

            Can't tell much without looking at the file. Can you upload your latest to your website so I can look at it for you?
            (I still have your site address from before but you could post it again in case someone else can look at it)
            tralfaz