# ProgressEvent.PROGRESS issue... it only shows when it is 100%

**URL:** <https://forum.kirupa.com/t/progressevent-progress-issue-it-only-shows-when-it-is-100/329869>\
**Category:** Uncategorized\
**Created:** [October 28, 2012, 8:45pm UTC](https://forum.kirupa.com/t/progressevent-progress-issue-it-only-shows-when-it-is-100/329869 "2012-10-28T20:45:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leo75](https://avatars.discourse-cdn.com/v4/letter/l/779978/32.png) [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Post date:** [October 28, 2012, 8:45pm UTC](https://forum.kirupa.com/t/progressevent-progress-issue-it-only-shows-when-it-is-100/329869/1 "2012-10-28T20:45:38Z")

</div>

Hello everyone,  
I am having issues with ProgressEvent.PROGRESS…

I read somewhere that it might be some kind of problem with windows 7, but not sure…  
[http://www.uploadify.com/forum/#/discussion/6240/progressevent-progress-doesnt-work-in-windows-7/p1](http://www.uploadify.com/forum/#/discussion/6240/progressevent-progress-doesnt-work-in-windows-7/p1)

So i came here for further help…  
It just doesnt work, there is not “progress” it only works when it is 100% done.

Here is the code:

```auto

var assetLoader:URLLoader = new URLLoader();
            assetLoader.load (new URLRequest("http://www.whatever/file.txt"));
            assetLoader.addEventListener (ProgressEvent.PROGRESS, progressHandler);

function progressHandler (event:Event):void
            {
                var percentLoaded:Number = event.currentTarget.bytesLoaded/event.currentTarget.bytesTotal;
                percentLoaded = Math.round(percentLoaded * 100);
                trace("Loading: "+percentLoaded+"%");
                txt.text = percentLoaded+" %";
            }

```

The funny thing is that it actually shows on the trace, but when i put it on the web, no progress showing the percentage loaded.

Kind regards,  
Cheers,  
Leo.
