# PLEASE HELP! (PreLoader)

**URL:** <https://forum.kirupa.com/t/please-help-preloader/64868>\
**Category:** Uncategorized\
**Created:** [September 20, 2004, 10:08pm UTC](https://forum.kirupa.com/t/please-help-preloader/64868 "2004-09-20T22:08:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![scooterdie](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@scooterdie](https://forum.kirupa.com/u/scooterdie)\
**Post date:** [September 20, 2004, 10:08pm UTC](https://forum.kirupa.com/t/please-help-preloader/64868/1 "2004-09-20T22:08:48Z")

</div>

[font=verdana, arial, helvetica][size=2]Ok, This Is Really Simple! I know Its Just Something Dumb That i’m Missing…

* * *

## stop(); //create the movie clip to hold the preloader this.createEmptyMovieClip(“preLoader\_mc”, 1) //put the preloader in the right spot preLoader\_mc.\_x = 255; preLoader\_mc.\_y = 200; //create some variables for the preloader preLoader\_mc.tBytes = this.getBytesTotal(); preLoader\_mc.startX = 0; preLoader\_mc.startY = 0; //create the text field to display the information preLoader\_mc.createTextField(“loader\_txt”,10,0,-20,400,15); //create a text format and set some properties var loadFormat:TextFormat = new TextFormat(); loadFormat.font="\_sans"; loadFormat.bold=true; loadFormat.size=“10”; loadFormat.color=“0x000000”; preLoader\_mc.loader\_txt.setNewTextFormat(loadFormat); //this callback will run the preloader preLoader\_mc.onEnterFrame = function(){ this.clear(); //create the line style preLoader\_mc.lineStyle(1,0xcccccc,100); //get amount of loaded bytes lBytes = \_root.getBytesLoaded(); //create the percentage variable var percentLoaded = Math.floor((lBytes/this.tBytes)_100); if(lBytes != this.tBytes){ //insert text into the text field this.loader\_txt.text= +percentLoaded+"%"; //start the fill this.beginFill(0xFFFFFF,100); //draw the loader this.moveTo(this.startX,this.startY); this.lineTo(this.startX,this.startY+10); this.lineTo(this.startX+(percentLoaded_2),this.startY+10); this.lineTo(this.startX+(percentLoaded\*2),this.startY); this.lineTo(this.startX,this.startY); this.endFill(); }else{ //go to the second frame \_root.gotoAndStop(“5”); //remove this preloader this.removeMovieClip(); } }

I Created this preloader to run with just a small bar/fill and then I created a text box to handle the percent loaded. The problem I’m having is I can’t Seem to Control The Text in The Text Box. Color,Size Etc. Please Help! Thanks

-Davy[/size][/font]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 20, 2004, 11:06pm UTC](https://forum.kirupa.com/t/please-help-preloader/64868/2 "2004-09-20T23:06:59Z")

</div>

Here Is an example .fla  
[http://scooterdie.bordercities.com/davy-preload.zip](http://scooterdie.bordercities.com/davy-preload.zip)  
The text is not showing up how i changed it, Its only showing up with default setting (black) thanks
