(function(window){	function GenericButton(label, color)	{		this.label	= label;		this.color	= color || '#4d852b'		this.initialize();	}	GenericButton.prototype = new Container();		GenericButton.prototype.labelTf	= null;		GenericButton.prototype.width	= 350;		GenericButton.prototype.height	= 70;		// Constructor:		GenericButton.prototype.Container_initialize = GenericButton.prototype.initialize;	// Unique to avoid overiding base class		GenericButton.prototype.initialize = function()		{			this.Container_initialize();			this.drawBackground();			this.initText();		}		GenericButton.prototype.drawBackground = function()		{			var bg	= new Shape();			bg.graphics.setStrokeStyle(5);			bg.graphics.beginStroke('#FFF');			bg.graphics.beginFill(this.color);			bg.graphics.drawRoundRect(-this.width/2, -this.height/2, this.width, this.height, 10);			bg.graphics.endFill();			this.addChildAt(bg, 0);		}		GenericButton.prototype.initText = function()		{			this.labelTf				= new Text(this.label, '40px OCRAStd', '#FFF');			this.labelTf.textBaseline	= 'middle';			this.labelTf.textAlign		= 'center';			this.labelTf.y				+= 4;			this.addChild(this.labelTf);		}	window.GenericButton = GenericButton;}(window));
