Load Image with Border OnLoad

I appologise for posting this again but I got no responses,

So, I am going to call this swf file to show a random image in a panel. I want the border to be around the picture when it loads. Here is the code, Cheers

portfolioInfo = new XML();

portfolioInfo.ignoreWhite = true;
timeline = this;
// Function when xml is done loading:
portfolioInfo.onLoad = function(){
	
portfolioTag = this.firstChild;

trace(	count = portfolioTag.childNodes.length);
// Generate a random number based on the lenght of nodes in the XML file
num = Math.floor(Math.random()*count);

spacing = 1;
image_mc._alpha = 0;

// LOAD IN FIRST PICTURE IN XML FILE, first occurance of IMAGE NODE
image_mc.loadMovie(portfolioTag.childNodes[num].attributes.IMAGE);
		
	_root.onEnterFrame = function(){
		var t = image_mc.getBytesTotal(), l = image_mc.getBytesLoaded();
		if (t != 0 && Math.round(l/t) == 1){
			var w = image_mc._width + spacing, h = image_mc._height + spacing;
			border.resizeMe(w, h);
			delete _root.onEnterFrame;
		}
	}		

}

MovieClip.prototype.resizeMe = function(w, h) {
        var speed = 3;
        this.onEnterFrame = function() {
                this._width += (w-this._width)/speed;
                this._height += (h-this._height)/speed;
                if (Math.abs(this._width-w)<1) {
                        this._width = w;
                        this._height = h;
                        image_mc._x = this._x-this._width/2+spacing/2;
                        image_mc._y = this._y-this._height/2+spacing/2;
                        image_mc._alpha += 15;
                        if (image_mc._alpha>=100) {
                              //  _root.containerMC._alpha = 100;
                                delete this.onEnterFrame;
                        }
                }
        };

};


portfolioInfo.load("random.xml");

The fla and more info can be found here, fla