public/javascripts/yui/uploader/uploader.js
function(swfURL, containerID, swfID, version, backgroundColor, expressInstall, wmode, buttonSkin)
	{
		//standard SWFObject embed
		var swfObj = new YAHOO.deconcept.SWFObject(swfURL, swfID, "100%", "100%", version, backgroundColor);

		if(expressInstall)
		{
			swfObj.useExpressInstall(expressInstall);
		}

		//make sure we can communicate with ExternalInterface
		swfObj.addParam("allowScriptAccess", "always");
		
		if(wmode)
		{
			swfObj.addParam("wmode", wmode);
		}
		
		swfObj.addParam("menu", "false");
		
		//again, a useful ExternalInterface trick
		swfObj.addVariable("allowedDomain", document.location.hostname);

		//tell the SWF which HTML element it is in
		swfObj.addVariable("YUISwfId", swfID);

		// set the name of the function to call when the swf has an event
		swfObj.addVariable("YUIBridgeCallback", "YAHOO.widget.FlashAdapter.eventHandler");
		if (buttonSkin) {
		swfObj.addVariable("buttonSkin", buttonSkin);
		}
		var container = YAHOO.util.Dom.get(containerID);
		var result = swfObj.write(container);
		if(result)
		{
			this._swf = YAHOO.util.Dom.get(swfID);
			YAHOO.widget.FlashAdapter.owners[swfID] = this;
		}
		else
		{
		}
	}
function(swfURL, containerID, swfID, version, backgroundColor, expressInstall, wmode, buttonSkin)
	{
		//standard SWFObject embed
		var swfObj = new YAHOO.deconcept.SWFObject(swfURL, swfID, "100%", "100%", version, backgroundColor);

		if(expressInstall)
		{
			swfObj.useExpressInstall(expressInstall);
		}

		//make sure we can communicate with ExternalInterface
		swfObj.addParam("allowScriptAccess", "always");
		
		if(wmode)
		{
			swfObj.addParam("wmode", wmode);
		}
		
		swfObj.addParam("menu", "false");
		
		//again, a useful ExternalInterface trick
		swfObj.addVariable("allowedDomain", document.location.hostname);

		//tell the SWF which HTML element it is in
		swfObj.addVariable("YUISwfId", swfID);

		// set the name of the function to call when the swf has an event
		swfObj.addVariable("YUIBridgeCallback", "YAHOO.widget.FlashAdapter.eventHandler");
		if (buttonSkin) {
		swfObj.addVariable("buttonSkin", buttonSkin);
		}
		var container = YAHOO.util.Dom.get(containerID);
		var result = swfObj.write(container);
		if(result)
		{
			this._swf = YAHOO.util.Dom.get(swfID);
			YAHOO.widget.FlashAdapter.owners[swfID] = this;
		}
		else
		{
		}
	}
function ( swfURL , containerID , swfID , version , backgroundColor , expressInstall , wmode , buttonSkin ) { //standard SWFObject embed var swfObj = new YAHOO . deconcept . SWFObject ( swfURL , swfID , "100%" , "100%" , version , backgroundColor ) ; if ( expressInstall ) { swfObj . useExpressInstall ( expressInstall ) ; } //make sure we can communicate with ExternalInterface swfObj . addParam ( "allowScriptAccess" , "always" ) ; if ( wmode ) { swfObj . addParam ( "wmode" , wmode ) ; } swfObj . addParam ( "menu" , "false" ) ; //again, a useful ExternalInterface trick swfObj . addVariable ( "allowedDomain" , document . location . hostname ) ; //tell the SWF which HTML element it is in swfObj . addVariable ( "YUISwfId" , swfID ) ; // set the name of the function to call when the swf has an event swfObj . addVariable ( "YUIBridgeCallback" , "YAHOO.widget.FlashAdapter.eventHandler" ) ; if ( buttonSkin ) { swfObj . addVariable ( "buttonSkin" , buttonSkin ) ; } var container = YAHOO . util . Dom . get ( containerID ) ; var result = swfObj . write ( container ) ; if ( result ) { this . _swf = YAHOO . util . Dom . get ( swfID ) ; YAHOO . widget . FlashAdapter . owners [ swfID ] = this ; } else { } }
Embeds the SWF in the page and associates it with this instance.

@method _embedSWF
@private
Embeds the SWF in the page and associates it with this instance .