# Movement Preloader?

**URL:** https://forum.kirupa.com/t/movement-preloader/123187
**Category:** Uncategorized
**Created:** [September 21, 2004, 12:37pm UTC](https://forum.kirupa.com/t/movement-preloader/123187 "2004-09-21T12:37:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ben\_is\_sparky](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ben_is_sparky/32/664_2.png) [@ben\_is\_sparky](https://forum.kirupa.com/u/ben_is_sparky)
#### Post date: [September 21, 2004, 12:37pm UTC](https://forum.kirupa.com/t/movement-preloader/123187/1 "2004-09-21T12:37:16Z")

</div>

I am trying to make a preloader where rather than have a bar which gets bigger, I want a movieClip to move across the stage. I am using the following code but it doesn’t work:

> 

stop;  
PercentLoaded = getBytesLoaded/getBytesTotal_100;  
if (PercentLoaded != 100) {  
setProperty(boat, \_x, PercentLoaded_12);  
} else {  
gotoAndPlay(“3”);  
}

Can anyone help me?

It isn’t in a seperate scene or movieclip, might this be the problem?

Thanks, Ben
