Upgrade to ExtJS 3.2.0 - Released 03/30/2010
[extjs.git] / docs / source / FlashComponent.html
index b7b5e9e..65cee52 100644 (file)
@@ -1,13 +1,14 @@
 <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>
 </head>
 <body  onload="prettyPrint();">
     <pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.0.3
- * Copyright(c) 2006-2009 Ext JS, LLC
+ * Ext JS Library 3.2.0
+ * Copyright(c) 2006-2010 Ext JS, Inc.
  * licensing@extjs.com
  * http://www.extjs.com/license
  */
@@ -20,9 +21,9 @@
 Ext.FlashComponent = Ext.extend(Ext.BoxComponent, {
     <div id="cfg-Ext.FlashComponent-flashVersion"></div>/**
      * @cfg {String} flashVersion
-     * Indicates the version the flash content was published for. Defaults to <tt>'9.0.45'</tt>.
+     * Indicates the version the flash content was published for. Defaults to <tt>'9.0.115'</tt>.
      */
-    flashVersion : '9.0.45',
+    flashVersion : '9.0.115',
 
     <div id="cfg-Ext.FlashComponent-backgroundColor"></div>/**
      * @cfg {String} backgroundColor
@@ -35,13 +36,13 @@ Ext.FlashComponent = Ext.extend(Ext.BoxComponent, {
      * The wmode of the flash object. This can be used to control layering. Defaults to <tt>'opaque'</tt>.
      */
     wmode: 'opaque',
-    
+
     <div id="cfg-Ext.FlashComponent-flashVars"></div>/**
      * @cfg {Object} flashVars
      * A set of key value pairs to be passed to the flash object as flash variables. Defaults to <tt>undefined</tt>.
      */
     flashVars: undefined,
-    
+
     <div id="cfg-Ext.FlashComponent-flashParams"></div>/**
      * @cfg {Object} flashParams
      * A set of key value pairs to be passed to the flash object as parameters. Possible parameters can be found here:
@@ -68,7 +69,14 @@ Ext.FlashComponent = Ext.extend(Ext.BoxComponent, {
     initComponent : function(){
         Ext.FlashComponent.superclass.initComponent.call(this);
 
-        this.addEvents('initialize');
+        this.addEvents(
+            <div id="event-Ext.FlashComponent-initialize"></div>/**
+             * @event initialize
+             *
+             * @param {Chart} this
+             */
+            'initialize'
+        );
     },
 
     onRender : function(){
@@ -80,8 +88,8 @@ Ext.FlashComponent = Ext.extend(Ext.BoxComponent, {
             wmode: this.wmode
         }, this.flashParams), vars = Ext.apply({
             allowedDomain: document.location.hostname,
-            elementID: this.getId(),
-            eventHandler: 'Ext.FlashEventProxy.onEvent'
+            YUISwfId: this.getId(),
+            YUIBridgeCallback: 'Ext.FlashEventProxy.onEvent'
         }, this.flashVars);
 
         new swfobject.embedSWF(this.url, this.id, this.swfWidth, this.swfHeight, this.flashVersion,
@@ -134,6 +142,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);</pre>
+Ext.reg('flash', Ext.FlashComponent);</pre>    
 </body>
 </html>
\ No newline at end of file