Image Loading problems?

Alright so there’s a section in my code where I load an Image file into the swf. This is what the code looks like:

public function loadImage() : void 
        {
            imageLoader.contentLoaderInfo.addEventListener( Event.COMPLETE, displayImage)
            imageLoader.load( new URLRequest("C:/Users/fizzy/Documents/Gallery/imga/" + src));
        }
        
        public function displayImage(_e:Event) : void
        {
            trace(src)
            /*Bitmap( imageLoader.content ).smoothing = true
            imageLoader.y = imageLoader.y*700/imageLoader.x
            imageLoader.x = 700 
            addChild(imageLoader)*/
        }

I commented out most of the displayImage function in order to test something, and, as it turns out, the displayImage function isn’t being run at all. Is there something obvious that I’m missing here?