# Loader problemas on Macs?

**URL:** <https://forum.kirupa.com/t/loader-problemas-on-macs/114406>\
**Category:** Uncategorized\
**Created:** [June 28, 2004, 10:43am UTC](https://forum.kirupa.com/t/loader-problemas-on-macs/114406 "2004-06-28T10:43:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sany](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@Sany](https://forum.kirupa.com/u/Sany)\
**Post date:** [June 28, 2004, 10:43am UTC](https://forum.kirupa.com/t/loader-problemas-on-macs/114406/1 "2004-06-28T10:43:43Z")

</div>

I have alsmost finnished my home page created and tested in flash mx on a pc. Everything has worked as expected, however the other day I treid viewing the same files on a mac and the loader bar instead of showing a percentage showed bytes loaded (i think) instead??? here is the code I used for the loader:

onClipEvent (enterFrame) {  
loading = \_root.content.getBytesLoaded();  
total = \_root.content.getBytesTotal();  
percent -= (percent-((loading/total)_100))_.25;  
per = int(percent);  
percentage = per+"%";  
loadBar.\_width = per;  
if (percent\>99) {  
\_parent.gotoAndStop(“opening”);  
}  
}

has anyone come across this before or know why it works on a pc but not a mac?

thanks

Sany
