I am somewhat new to Flash Actionscript, and I already have a problem. Every book I have ever got (which is quite a few), says that I can access a movieclip’s timeline by attaching something like

on (press)
{
movieClipName.gotoAndPlay(“nameofframe”);
}

to a button on the main timeline. I have tried to do this many times, but it never has worked. I click on the button, and nothing happens. If anyone could help me, I would be very grateful.

My Computer/Flash information is:
Flash version—7.0.1, MX 2004 Educational
Operating System—Windows XP Home Edition

Thanks!