# Adding a percentage symbol in field

**URL:** <https://forum.kirupa.com/t/adding-a-percentage-symbol-in-field/122119>\
**Category:** Uncategorized\
**Created:** [September 10, 2004, 12:51pm UTC](https://forum.kirupa.com/t/adding-a-percentage-symbol-in-field/122119 "2004-09-10T12:51:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![w9914420](https://avatars.discourse-cdn.com/v4/letter/w/c0e974/32.png) [@w9914420](https://forum.kirupa.com/u/w9914420)\
**Post date:** [September 10, 2004, 12:51pm UTC](https://forum.kirupa.com/t/adding-a-percentage-symbol-in-field/122119/1 "2004-09-10T12:51:36Z")

</div>

ok i have created a simple enough preloader, all i am wanting to do is add  
a percentage symbol to the text field called “frame” my code is below

loadedbytes = getBytesLoaded();  
totalbytes = getBytesTotal();  
loadedkbytes = Math.ceil(loadedbytes/1000);  
totalkbytes = Math.ceil(totalbytes/1000);  
if (loadedbytes == totalbytes) {  
gotoAndStop(“Scene 1”, 4);  
}  
frame = int(loadedbytes/(totalbytes/100));  
tellTarget (\_root.mainloader.loader) {  
tellTarget (\_root.faker) {  
}  
gotoAndStop (\_root.frame);  
}  
\_root.mainloader.loader.place.test = frame

If may sound like a dumb question when i can just add a percentage symbol on the stage. but I would much prefer to add it as code in the text field.  
any help appreciated.

kind regards

w9914420
