What about the MovieClipLoader Class?
var loadListener:Object = new Object();
loadListener.onLoadError = function(target_mc:MovieClip,
errorCode:String, httpStatus:Number) {
trace(">> loadListener.onLoadError()");
trace(">> ==========================");
trace(">> errorCode: " + errorCode);
trace(">> httpStatus: " + httpStatus);
}
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(loadListener);
var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
mcLoader.loadClip("http://www.fakedomain.com/images/bad_hair_day.jpg", mc);
On 3/17/06, Judah <[EMAIL PROTECTED]> wrote:
> I saw the thread a few threads ago but I'm really wanted to start my own. Is
> there an error or event that loadMovie dispatches if it does not find a swf?
>
>
>
>
> exteriorMenuBoard_mc.loadMovie(path + lang + "" + dtboarddesc + ".jpg");
>
>
>
> Flash is tracing the famous "file not found message" in the output window
> but that doesn't help me here.
>
>
>
> Judah
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com