Help with jpg preload code

First off I have read many MANY posts on preloading jpgs. I am using code posted by LIB in this thread

I have on my main stage a container clip. It is on this container clip that I want to use the code. I have this in the Actionscript layer of the container clip:
[AS]
this.createEmptyMovieClip(“pload”, 1000);
this.createEmptyMovieClip(“imagecon”, 1001);
//imagecon.loadMovie(“yourImage.jpg”);
imagecon._x = 24.3;
imagecon._y = 49.5;
imagecon._visible = false;
pload.onEnterFrame = function() {
var l = imagecon.getBytesLoaded();
var t = imagecon.getBytesTotal();
var getPercent = l/t;
loadText = Math.round(getPercent100)+"%";
loadBar._width = getPercent
200;
if (l>0 && l>=t) {
imagecon._visible = 1;
delete this.onEnterFrame;
}
};
[/AS]

On the MAIN timeline I have a button and I have this code on the button:
[AS]
on(release){
//some other stuff
_root.container.imagecon.loadMovie(“pics/mst_s2.jpg”);
}
[/AS]

When I test the movie all is dandy, though because it’s all sitting on my hard drive you don’t really see the preloader, just the pic. However, when I upload it to the server all you see is “0%”. The pic is only 3kb - so what the hey?

Any help appreciated! :bu:

hey…can you attach the file…please…i’m a bad actionscripter…i can’t understand some of the part that you talking about…so if you don’t mind, i could learn better with the help of the fla file.
thanks

Hey lunatic,
Tried it, and I could not get it? Tried thread *#14

Hey everyone,

I am currently out of town (away from home and Flash :frowning: ) for a couple more days. I’ll try to get to this thread when I return. In the meantime, anyone else who has successfully pulled this off (you know who you are! :stuck_out_tongue: ) please feel free to fill in for me!

:hr: