# ifFrameLoaded MC

**URL:** <https://forum.kirupa.com/t/ifframeloaded-mc/76579>\
**Category:** flash\
**Created:** [January 19, 2005, 6:09pm UTC](https://forum.kirupa.com/t/ifframeloaded-mc/76579 "2005-01-19T18:09:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![reweb](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/reweb/32/135_2.png) [@reweb](https://forum.kirupa.com/u/reweb)\
**Post date:** [January 19, 2005, 6:09pm UTC](https://forum.kirupa.com/t/ifframeloaded-mc/76579/1 "2005-01-19T18:09:52Z")

</div>

In the first frame of my movie I have:  
ifFrameLoaded (140) {  
gotoAndPlay(2);  
}

But in frame 5 i inserted a movie clip. How can I preload this movieclip \_root.mc & first 140 frames of my movie and then play frame 2 in the main timeline.

Tutorial, example :hr:
