Text ransitions not from an external swf

How would you go about creating a file where its much like the transition with external swf files but for different frames etc in the same file?

I’m guessing i need a mask, transition and content layers but how do I do this?

If possible could someone tell me the AS as well.

Cheers people.