# Preload issue: Start playing the movie once a certain frame has been loaded

**URL:** <https://forum.kirupa.com/t/preload-issue-start-playing-the-movie-once-a-certain-frame-has-been-loaded/100130>\
**Category:** Uncategorized\
**Created:** [January 26, 2004, 6:49am UTC](https://forum.kirupa.com/t/preload-issue-start-playing-the-movie-once-a-certain-frame-has-been-loaded/100130 "2004-01-26T06:49:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rex](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@Rex](https://forum.kirupa.com/u/Rex)\
**Post date:** [January 26, 2004, 6:49am UTC](https://forum.kirupa.com/t/preload-issue-start-playing-the-movie-once-a-certain-frame-has-been-loaded/100130/1 "2004-01-26T06:49:56Z")

</div>

I’m building a quite large flash movie with hundreds of movieclips (with their own preloaders) with approx 150 frames in the \_root timeline. But I’ve until now never been very confident with preloaders, and that is causing me hairloss.

Once the user enter the site, I want a preloader to come up, but I want to use actionscript to start playing frame 2 once frame 2 content is loaded, not start playing frame 2 once the WHOLE movie is loaded.

I use the below code for simple preloading with no feedback of progress, however it loads the whole movie before it start playback of frame 2:

if (\_framesloaded\>=\_totalframes) {  
gotoAndPlay (2);  
} else {  
gotoAndPlay (1);  
}

All help is greatly appreciated.

Rex
