# Preloading images from GD in AS3

**URL:** <https://forum.kirupa.com/t/preloading-images-from-gd-in-as3/287540>\
**Category:** programming\
**Created:** [May 3, 2009, 8:31am UTC](https://forum.kirupa.com/t/preloading-images-from-gd-in-as3/287540 "2009-05-03T08:31:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bfaubion](https://avatars.discourse-cdn.com/v4/letter/b/f08c70/32.png) [@bfaubion](https://forum.kirupa.com/u/bfaubion)\
**Post date:** [May 3, 2009, 8:31am UTC](https://forum.kirupa.com/t/preloading-images-from-gd-in-as3/287540/1 "2009-05-03T08:31:48Z")

</div>

Hi All, i recently wrote a simple image resize script with php and GD2. I want to use it to load thumbs into flash from the original images… its working great, but on my preloader… (ProgressEvent.PROGRESS) i do my math and it gives me “infinity”… is there any way to do this in php where i can still get an accurate preloader in flash?
