Event dispatchers

I have movieclip that has a 10 frame animation, once the animation is done (the timeline is stopped on frame 10) I want to send a custom event to the maintimeline to trigger the next animation.

Can anyone help?

Thanks.