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:
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.