                 // look for frame properties
                 try {
                     // accessing LoaderInfo.content may throw security exceptions
+                    var info:LoaderInfo = event.target as LoaderInfo;
                     var content:DisplayObject = info.content;
                     if (content is MovieClip) {
                         var loaderMC = MovieClip(content);

                this.owner.resourceloaderror( (event as IOErrorEvent).text );
            }
        } catch (error:Error) {
            if ($debug) Debug.warn(event.type + " " + error);
        }
    }


            } else if (event.type == Event.UNLOAD) {
            }
        } catch (error:Error) {
            if ($debug) Debug.warn("loaderEventHandler(%w): %w", event, error);
        }
    }

