# Problems with % preloader

**URL:** <https://forum.kirupa.com/t/problems-with-preloader/128083>\
**Category:** flash\
**Created:** [November 9, 2004, 12:14pm UTC](https://forum.kirupa.com/t/problems-with-preloader/128083 "2004-11-09T12:14:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moloko](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@Moloko](https://forum.kirupa.com/u/Moloko)\
**Post date:** [November 9, 2004, 12:14pm UTC](https://forum.kirupa.com/t/problems-with-preloader/128083/1 "2004-11-09T12:14:06Z")

</div>

[size=1][color=navy]Hi all[/color][/size]

[size=1][color=navy]I’m new in this forum and i’m not sure if this is the one i should use to solve my doubt.[/color][/size]

[color=navy][size=1]I have created an animation with a percent preloader that works fine when is used alone, but when i insert that animation into a new swf (using loadmovie), the % text does not appear. The Percent bar appears correctly, but not the % text.[/size][/color]  
[size=1][color=#000080]I have used this code for the preloader:[/color][/size]

[color=red]bytes\_loaded = Math.round(this.getBytesLoaded());  
bytes\_total = Math.round(this.getBytesTotal());  
getPercent = bytes\_loaded/bytes\_total;  
this.Barracarga.\_width = getPercent_100;  
this.loadText = Math.round(getPercent_100)+"%";  
if (bytes\_loaded == bytes\_total) {  
this.gotoAndPlay(3);  
}[/color]  
[color=red][size=1][color=#000080][/color][/size]  
[color=navy][size=1]And this another text for the loadmovie into a new SWF file:[/size][/color]  
[color=navy][/color]  
[color=red]\_root.contenido.loadMovie(“contenido\_index.swf”);[/color]  
[color=navy][/color]  
[color=navy][size=1]Can anyone tell me if i have done something wrong?? How can be displayed the % text in a loaded movie inside another one??[/size][/color]

[size=1][color=#000080]Thanks in advance to all of you.[/color][/size]  
[size=1][color=#000080]BR[/color][/size]  
[size=1][color=#000080]Moloko[/color][/size]

[size=1][color=#000080]P.D.: I’m so sorry for my english. It’s not very good.[/color][/size]  
[/color]
