Here is my script for loading a .jpg into a movieClip called
"placeHolder". But what if the image is not available to be loaded?
How do I catch the error and give a message to the user? I tried
accessing the varaible pBar.loaded and percentLoaded bu that didn't
What do you mean, you tried accessing the variable
pBar.loaded and it didn't work?
In any event that doesn't matter. You have managed to find
the onLoadStart, onLoadProgress, and onLoadComplete events of the
MovieClipLoader. I suggest you keep reading the entries for that
class until you get to the onLoadError event!
Also you might want to use the onLoadInit instead of the
onLoadComplete. For what you have so far that will work fine as it
is. But if you want to measure the _width/_height of the loaded
clip or things like that you will need onLoadInit.