/**
 * 
 *
 * Changelog
 * ---------
 *
 * -
 *
 * @since Tue Dec 02 2008
 * @author Leonard Visser (leonard@connectholland.nl)
 **/
var SwfResize = Class.extend(SWFObject, {

	/**
	 * initialize
	 *
	 * Initialize a new SwfResize object
	 *
	 * @since initial
	 * @param string swfname
	 * @param string swffile
	 * @param integer width
	 * @param integer height
	 * @param string bgcolor
	 * @return void
	 **/
	initialize: function(swfname, swffile, width, height, bgcolor) {
		this.swfname = swfname;
		this.__parent.initialize(swfname, swffile, width, height, bgcolor);
	},


	resizeFlash: function(hoogte) {
		var objNode = document.getElementById(this.swfname);
		objNode.style.height = hoogte;
		objNode.attributes.height.nodeValue = hoogte;
	}


});

