This content has been marked as final. Show 3 replies
The problem might just be an extra "this". Make the second line of your function: IllusCont.gotoAndPlay("blueMC");.
Thank you for replying Rob,
Following the directions of someone else, I now have my "slides" in one movie clip and my "content box" in another. I'm not sure if this changes the order of my code, but when I followed your advice nothing changed. I am finding that no matter what changes I make I keep getting the same error:
"Statement must appear within on handler
Where do you have that function? Is it on a frame action, or is it attached directly to a button? From the error that you quoted, it sounds like this code is attached directly to a button. If that's the case then you should be using something like:
If this is not the solution, then it might be useful for you to upload your movie so that I can take a look at it and make a better diagnosis.