Controlling mc's

I have an fla. in it i have 2 mc’s. one called titlescene and the other (which is placed within the first) called processloop. Processloop is set to loop while titlescene is playing. However, i need some code that will stop the processloop once titlescene is done playing aswell as stopping itself. I’ve been playing around with the following code but to no luck. any iseas?

stop();
mc.processloop.gotoAndStop();

Thanks