This content has been marked as final. Show 3 replies
If you're stop()-ed at the location you clicked to get to, and your button says to gotoAndPlay at that same location, since it's already there, it will play since the stop() that was there is already used up. So you probably need to use gotoAndStop() instead.
I don't understand what your second item is explaining.
I want the "_off" for the movie clip called mcHome to run and then to run the "_on" for the next clip which is mcMenu
Both movie clips have a _on and _off state.
For this line of code:
if (_root.mcHome != "_on")
You appear to be trying to use what is a frame label as a value compare to the movieclip instance... they will never equate. One is an object and the other is...??? a label.
You probably need to set a boolean variable to true/false as needed and compare that...
So when you do whatever makes mcHome goto the _on location, at that location you would set the variable to be true...
mcHomeOn = true;
Then you could test that value...