X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775:/docs/source/FlashComponent.html diff --git a/docs/source/FlashComponent.html b/docs/source/FlashComponent.html index 34756cb9..b7b5e9e6 100644 --- a/docs/source/FlashComponent.html +++ b/docs/source/FlashComponent.html @@ -1,11 +1,17 @@ - - - The source code - - - - -
/** + + + The source code + + + + +
/*!
+ * Ext JS Library 3.0.3
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+
/** * @class Ext.FlashComponent * @extends Ext.BoxComponent * @constructor @@ -29,6 +35,19 @@ Ext.FlashComponent = Ext.extend(Ext.BoxComponent, { * The wmode of the flash object. This can be used to control layering. Defaults to 'opaque'. */ wmode: 'opaque', + +
/** + * @cfg {Object} flashVars + * A set of key value pairs to be passed to the flash object as flash variables. Defaults to undefined. + */ + flashVars: undefined, + +
/** + * @cfg {Object} flashParams + * A set of key value pairs to be passed to the flash object as parameters. Possible parameters can be found here: + * http://kb2.adobe.com/cps/127/tn_12701.html Defaults to undefined. + */ + flashParams: undefined,
/** * @cfg {String} url @@ -55,15 +74,15 @@ Ext.FlashComponent = Ext.extend(Ext.BoxComponent, { onRender : function(){ Ext.FlashComponent.superclass.onRender.apply(this, arguments); - var params = { + var params = Ext.apply({ allowScriptAccess: 'always', bgcolor: this.backgroundColor, wmode: this.wmode - }, vars = { + }, this.flashParams), vars = Ext.apply({ allowedDomain: document.location.hostname, elementID: this.getId(), eventHandler: 'Ext.FlashEventProxy.onEvent' - }; + }, this.flashVars); new swfobject.embedSWF(this.url, this.id, this.swfWidth, this.swfHeight, this.flashVersion, this.expressInstall ? Ext.FlashComponent.EXPRESS_INSTALL_URL : undefined, vars, params); @@ -115,6 +134,6 @@ Ext.FlashComponent = Ext.extend(Ext.BoxComponent, { */ Ext.FlashComponent.EXPRESS_INSTALL_URL = 'http:/' + '/swfobject.googlecode.com/svn/trunk/swfobject/expressInstall.swf'; -Ext.reg('flash', Ext.FlashComponent);
- +Ext.reg('flash', Ext.FlashComponent);
+ \ No newline at end of file