# How to PAUSE main movie, until target movie is 100% loaded?

**URL:** https://forum.kirupa.com/t/how-to-pause-main-movie-until-target-movie-is-100-loaded/194313
**Category:** flash
**Created:** [July 22, 2006, 3:16am UTC](https://forum.kirupa.com/t/how-to-pause-main-movie-until-target-movie-is-100-loaded/194313 "2006-07-22T03:16:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![raceonusa\_com](https://avatars.discourse-cdn.com/v4/letter/r/f05b48/32.png) [@raceonusa\_com](https://forum.kirupa.com/u/raceonusa_com)
#### Post date: [July 22, 2006, 3:16am UTC](https://forum.kirupa.com/t/how-to-pause-main-movie-until-target-movie-is-100-loaded/194313/1 "2006-07-22T03:16:13Z")

</div>

This is probably easy for you flash guru’s, but it’s driving me nuts…

I have a flash file that loads external jpeg’s into a movie inside my main movie. But here’s the dilema… the jpegs might take a few seconds, and I want it to run clean, is there a way I can have it display the % loaded of an external jpeg? then once 100% is loaded it continues to another frame?

something like this? but where am I going wrong? I get no errors but I cannot get the varaible to display for % loaded, even as a dynamic text box…

if (\_root.MOVIETARGET.percentLoaded=100) {  
gotoAndPlay(“loaded”);

??

thanks!
