Timeline website cs3


I have a website i have built in flash with timeline and animations and movie clips.

I have a background layer
a navagation layer
a pages layer
a as layer with my stop actions for the pages
a as layer with my navagation event handlers for rollovers and goto the correct page.

However, withing the pages are timeline animations. some are movie clips etc.
I want to a some dynamic animations like on a page (say frame 10) add a button to add in a image or goto another frame on the time line.

When i try using eventListeners the flash doesnt like it and sends an error.

How can i have a button taking to another from within the animation and have my maintime still work??? Or have am i completely screwed and can only do it with a one frame action script website. (which i am a bit hairy on )