Report abuse

// On line 76 edit the following resizeSite function to look like the below and follow the comments
function resizeSite():Void {
	drawBorder();
	drawSiteBackground();
	positionDropshadows();
	positionChangeBackground();
	positionFooter();
	drawCenterBackground();
	gradientBackground.drawBackground();
	
	// Add the code below to center the content vertically
	var contentX:Number = Math.ceil((Stage.width/2) - (_parent.content_mc._width/2));
	var contentY:Number = Math.ceil((Stage.height/2) - (_parent.content_mc._height/2) - (PADDING_SITE_BOTTOM/2));
	_parent.content_mc._x = contentX;
	_parent.content_mc._y = contentY;
	// Uncomment the following line and comment out the above two lines for an easing effect
	//Tweener.addTween(_parent.content_mc, {_x:contentX, _y:contentY, time:0.7, transition:"easeoutquad", delay:0.7});
}