If you load a bunch of stuff in one mc then the best thing to do is move the mc to a better position so when the stuff is loaded they will be in the right position.
I do need the image centered within the mc, because when a different mc loads into this mc it may have different dimensions, then it to needs to be centered.
You have to preload your jpeg, wait until it’s downloaded completely and then you can access it’s properties. I know it’s true for the width and height, it should be the same for the position and everything else.
part of my 2 hour adventure was looking through all of these, and non applied to my situation.
here is what I have:
I have a number of thumbnails created with attachMovie based on the number of file names in an array.
In a “for” statement I have mc’s created and jpegs loaded into them.
So I can’t use preloader that check the _root movie’s load status.
I need the load status of these individual jpegs so they can be centered into the attachMovie generated mc’s.
Well I don’t know about your specific problem (because with preloaders there are many) but I can tell you that EVERYTHING returns 0 as bytesTotal when it first loads, even the _root. I use an && statement with my if statement to make sure that it doesn’t continue when both the bytes loaded and the bytes total read 0.
Now you’re saying that the totalBytes doesn’t show up as anything but 0 until the whole thing loads. That SHOULD not be the case. If it is, then there’s some other problem. Could be addressing.