# Dynamic Pictures Not Displaying

**URL:** <https://forum.kirupa.com/t/dynamic-pictures-not-displaying/298089>\
**Category:** flash\
**Created:** [October 13, 2009, 3:31pm UTC](https://forum.kirupa.com/t/dynamic-pictures-not-displaying/298089 "2009-10-13T15:31:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![itbkris](https://avatars.discourse-cdn.com/v4/letter/i/e19adc/32.png) [@itbkris](https://forum.kirupa.com/u/itbkris)\
**Post date:** [October 13, 2009, 3:31pm UTC](https://forum.kirupa.com/t/dynamic-pictures-not-displaying/298089/1 "2009-10-13T15:31:49Z")

</div>

I’m build a dynamic inventory system. When I test the file in CS4 all of the pictures load properly along the left side. When I publish it and run it online none of the pictures show up. I know it is getting the addresses and listing the as complete because that is what the visible numbers are. If you could take a look and let me know I would greatly appreciate it.

Here is the loading code:

```auto

var carimage:String;

function startLoad()
{
	var mLoader:Loader = new Loader();
	var mRequest:URLRequest = new URLRequest(carimage);
	mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
	mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler);
	mLoader.load(mRequest);;
}

function onCompleteHandler(loadEvent:Event)
{
         progresscount.text = carimage;
         addChild(loadEvent.currentTarget.content);
}
function onProgressHandler(mProgress:ProgressEvent)
{
	var percent:Number = mProgress.bytesLoaded/mProgress.bytesTotal;
	progresscount.text = String(percent);
	trace(percent);
}
startLoad();

```

Thanks in advance for any help.
