X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..refs/heads/master:/docs/source/Component2.html diff --git a/docs/source/Component2.html b/docs/source/Component2.html index a4d7c053..4a2a54f5 100644 --- a/docs/source/Component2.html +++ b/docs/source/Component2.html @@ -1,5 +1,22 @@ -
+ +/** - * @class Ext.flash.Component + + + + +\ No newline at end of file +The source code + + + + + + +/** + * @class Ext.flash.Component * @extends Ext.Component * * A simple Component for displaying an Adobe Flash SWF movie. The movie will be sized and can participate @@ -49,11 +66,6 @@ * * Ext.flash.Component.EXPRESS_INSTALL_URL = 'path/to/local/expressInstall.swf'; * - * @constructor - * Creates a new Ext.flash.Component instance. - * @param {Object} config The component configuration. - * - * @xtype flash * @docauthor Jason Johnston <jason@sencha.com> */ Ext.define('Ext.flash.Component', { @@ -61,19 +73,19 @@ Ext.define('Ext.flash.Component', { alternateClassName: 'Ext.FlashComponent', alias: 'widget.flash', - /** + /** * @cfg {String} flashVersion * Indicates the version the flash content was published for. Defaults to <tt>'9.0.115'</tt>. */ flashVersion : '9.0.115', - /** + /** * @cfg {String} backgroundColor * The background color of the SWF movie. Defaults to <tt>'#ffffff'</tt>. */ backgroundColor: '#ffffff', - /** + /** * @cfg {String} wmode * The wmode of the flash object. This can be used to control layering. Defaults to <tt>'opaque'</tt>. * Set to 'transparent' to ignore the {@link #backgroundColor} and make the background of the Flash @@ -81,49 +93,49 @@ Ext.define('Ext.flash.Component', { */ wmode: 'opaque', - /** + /** * @cfg {Object} flashVars * A set of key value pairs to be passed to the flash object as flash variables. Defaults to <tt>undefined</tt>. */ - /** + /** * @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 <tt>undefined</tt>. */ - /** + /** * @cfg {Object} flashAttributes * A set of key value pairs to be passed to the flash object as attributes. Defaults to <tt>undefined</tt>. */ - /** + /** * @cfg {String} url * The URL of the SWF file to include. Required. */ - /** + /** * @cfg {String/Number} swfWidth The width of the embedded SWF movie inside the component. Defaults to "100%" * so that the movie matches the width of the component. */ swfWidth: '100%', - /** + /** * @cfg {String/Number} swfHeight The height of the embedded SWF movie inside the component. Defaults to "100%" * so that the movie matches the height of the component. */ swfHeight: '100%', - /** + /** * @cfg {Boolean} expressInstall * True to prompt the user to install flash if not installed. Note that this uses * Ext.FlashComponent.EXPRESS_INSTALL_URL, which should be set to the local resource. Defaults to <tt>false</tt>. */ expressInstall: false, - /** + /** * @property swf - * @type {Ext.core.Element} + * @type {Ext.Element} * A reference to the object or embed element into which the SWF file is loaded. Only * populated after the component is rendered and the SWF has been successfully embedded. */ @@ -143,14 +155,14 @@ Ext.define('Ext.flash.Component', { this.callParent(); this.addEvents( - /** + /** * @event success * Fired when the Flash movie has been successfully embedded * @param {Ext.flash.Component} this */ 'success', - /** + /** * @event failure * Fired when the Flash movie embedding fails * @param {Ext.flash.Component} this @@ -192,7 +204,7 @@ Ext.define('Ext.flash.Component', { ); }, - /** + /** * @private * The callback method for handling an embedding success or failure by SWFObject * @param {Object} e The event object passed by SWFObject - see http://code.google.com/p/swfobject/wiki/api @@ -209,7 +221,7 @@ Ext.define('Ext.flash.Component', { } }, - /** + /** * Retrieve the id of the SWF object/embed element */ getSwfId: function() { @@ -236,7 +248,7 @@ Ext.define('Ext.flash.Component', { }, statics: { - /** + /** * Sets the url for installing flash if it doesn't exist. This should be set to a local resource. * See http://www.adobe.com/devnet/flashplayer/articles/express_install.html for details. * @static @@ -245,4 +257,6 @@ Ext.define('Ext.flash.Component', { EXPRESS_INSTALL_URL: 'http:/' + '/swfobject.googlecode.com/svn/trunk/swfobject/expressInstall.swf' } }); -