I may need to look at your project file to help you out and I won't have access to Flash until tomorrow. Each movieclip, including the main timeline, has it's own timeline. That means if you put the script in the wrong timeline, it won't affect the timeline you want it to affect. Make sure there is an "a" in the timeline where you want it to stop.