Looping

how do I write the code if i have one movie(say upload_MC) on root.
i want to loop this movie only 3 times and then i want to play further animation on the main timeline

how can I do it.

I used action on main timeline gotoand play but i want to control that upload_MC, wants to play one three or two times …