-<!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-flash.Component-method-constructor'><span id='Ext-flash.Component'>/**
-</span></span> * @class Ext.flash.Component
+<!DOCTYPE html>
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>The source code</title>
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
+ <style type="text/css">
+ .highlight { display: block; background-color: #ddd; }
+ </style>
+ <script type="text/javascript">
+ function highlight() {
+ document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
+ }
+ </script>
+</head>
+<body onload="prettyPrint(); highlight();">
+ <pre class="prettyprint lang-js"><span id='Ext-flash-Component'>/**
+</span> * @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
*
* 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', {
alternateClassName: 'Ext.FlashComponent',
alias: 'widget.flash',
-<span id='Ext-flash.Component-cfg-flashVersion'> /**
+<span id='Ext-flash-Component-cfg-flashVersion'> /**
</span> * @cfg {String} flashVersion
* Indicates the version the flash content was published for. Defaults to <tt>'9.0.115'</tt>.
*/
flashVersion : '9.0.115',
-<span id='Ext-flash.Component-cfg-backgroundColor'> /**
+<span id='Ext-flash-Component-cfg-backgroundColor'> /**
</span> * @cfg {String} backgroundColor
* The background color of the SWF movie. Defaults to <tt>'#ffffff'</tt>.
*/
backgroundColor: '#ffffff',
-<span id='Ext-flash.Component-cfg-wmode'> /**
+<span id='Ext-flash-Component-cfg-wmode'> /**
</span> * @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
*/
wmode: 'opaque',
-<span id='Ext-flash.Component-cfg-flashVars'> /**
+<span id='Ext-flash-Component-cfg-flashVars'> /**
</span> * @cfg {Object} flashVars
* A set of key value pairs to be passed to the flash object as flash variables. Defaults to <tt>undefined</tt>.
*/
-<span id='Ext-flash.Component-cfg-flashParams'> /**
+<span id='Ext-flash-Component-cfg-flashParams'> /**
</span> * @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>.
*/
-<span id='Ext-flash.Component-cfg-flashAttributes'> /**
+<span id='Ext-flash-Component-cfg-flashAttributes'> /**
</span> * @cfg {Object} flashAttributes
* A set of key value pairs to be passed to the flash object as attributes. Defaults to <tt>undefined</tt>.
*/
-<span id='Ext-flash.Component-cfg-url'> /**
+<span id='Ext-flash-Component-cfg-url'> /**
</span> * @cfg {String} url
* The URL of the SWF file to include. Required.
*/
-<span id='Ext-flash.Component-cfg-swfWidth'> /**
+<span id='Ext-flash-Component-cfg-swfWidth'> /**
</span> * @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%',
-<span id='Ext-flash.Component-cfg-swfHeight'> /**
+<span id='Ext-flash-Component-cfg-swfHeight'> /**
</span> * @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%',
-<span id='Ext-flash.Component-cfg-expressInstall'> /**
+<span id='Ext-flash-Component-cfg-expressInstall'> /**
</span> * @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,
-<span id='Ext-flash.Component-property-swf'> /**
+<span id='Ext-flash-Component-property-swf'> /**
</span> * @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.
*/
this.callParent();
this.addEvents(
-<span id='Ext-flash.Component-event-success'> /**
+<span id='Ext-flash-Component-event-success'> /**
</span> * @event success
* Fired when the Flash movie has been successfully embedded
* @param {Ext.flash.Component} this
*/
'success',
-<span id='Ext-flash.Component-event-failure'> /**
+<span id='Ext-flash-Component-event-failure'> /**
</span> * @event failure
* Fired when the Flash movie embedding fails
* @param {Ext.flash.Component} this
);
},
-<span id='Ext-flash.Component-method-swfCallback'> /**
+<span id='Ext-flash-Component-method-swfCallback'> /**
</span> * @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
}
},
-<span id='Ext-flash.Component-method-getSwfId'> /**
+<span id='Ext-flash-Component-method-getSwfId'> /**
</span> * Retrieve the id of the SWF object/embed element
*/
getSwfId: function() {
},
statics: {
-<span id='Ext-flash.Component-property-EXPRESS_INSTALL_URL'> /**
+<span id='Ext-flash-Component-static-property-EXPRESS_INSTALL_URL'> /**
</span> * 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
EXPRESS_INSTALL_URL: 'http:/' + '/swfobject.googlecode.com/svn/trunk/swfobject/expressInstall.swf'
}
});
-</pre></pre></body></html>
\ No newline at end of file
+</pre>
+</body>
+</html>