public/javascripts/yui/uploader/uploader.js
function()
	{
		//kill the Flash Player instance
		if(this._swf)
		{
			var container = YAHOO.util.Dom.get(this._containerID);
			container.removeChild(this._swf);
		}
		
		var instanceName = this._id;
		
		//null out properties
		for(var prop in this)
		{
			if(YAHOO.lang.hasOwnProperty(this, prop))
			{
				this[prop] = null;
			}
		}
		
	}
function()
	{
		//kill the Flash Player instance
		if(this._swf)
		{
			var container = YAHOO.util.Dom.get(this._containerID);
			container.removeChild(this._swf);
		}
		
		var instanceName = this._id;
		
		//null out properties
		for(var prop in this)
		{
			if(YAHOO.lang.hasOwnProperty(this, prop))
			{
				this[prop] = null;
			}
		}
		
	}
function ( ) { //kill the Flash Player instance if ( this . _swf ) { var container = YAHOO . util . Dom . get ( this . _containerID ) ; container . removeChild ( this . _swf ) ; } var instanceName = this . _id ; //null out properties for ( var prop in this ) { if ( YAHOO . lang . hasOwnProperty ( this , prop ) ) { this [ prop ] = null ; } } }
Nulls out the entire FlashAdapter instance and related objects and removes attached
event listeners and clears out DOM elements inside the container. After calling
this method, the instance reference should be expliclitly nulled by implementer,
as in myChart = null. Use with caution!

@method destroy
Nulls out the entire FlashAdapter instance and related objects and removes attached event listeners and clears out DOM elements inside the container . After calling this method the instance reference should be expliclitly nulled by implementer as in myChart = null . Use with caution!