swfapplication.js revision b8536d4d0d76ef6fa6779f434d574d0474baa0c8
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * Create data visualizations with line graphs, histograms, and other methods.
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * @module swfApplication
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * Note: SWFApplication is a temporary class that has been created for the purposes of observing and testing the current state of the underlying flash swfApplication rendering engine. This file
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * will be replaced in future iterations and its api will vary significantly.
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * The SWFApplication widget is the base class for hybrid flash applications.
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * @module swfApplication
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * @title SWFApplication
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * @requires yahoo, dom, event, swfWidget, container
fc2512cfb727d49529d8ed99164db871f4829b73Robert Mustacchi * @namespace YAHOO.widget
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * Creates the SWFApplication instance and contains initialization data
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * @class SWFApplication
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * @extends Y.Container
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * @constructor
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * @param {Object} config Configuration parameters for the SWFApplication.
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * <li><code>parent</code>: {String} id of dom element to be used as a container for the swfApplication swf</li>
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * <li><code>flashvar</code>:hash of key value pairs that can be passed to the swf.</li>
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * <li><code>autoLoad</code>:indicates whether the loadswf method will be automatically called on instantiation.</li>
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * <li><code>styles/code>:hash of style properties to be applied to the SWFApplication application.</li>
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore SWFApplication.superclass.constructor.apply(this, arguments);
fc2512cfb727d49529d8ed99164db871f4829b73Robert Mustacchi * URL used for swf
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore value: Y.config.base + "chart/assets/cartesiancanvas.swf"
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore * Collection of attributes to be used for the swf embed.
useExpressInstall: true,
lazyAdd: false,
setOnce: true,
useExpressInstall: true,
lazyAdd:false,
setOnce: true,
if(!val)
value: true
lazyAdd: false,
value: true,
value: null
value: null,
if(val)
getter: function()
return this._dataProvider;
_createId: function()
this._init();
this._clearMethodQueue();
loadswf: function()
_instantiateSWFClass: function()
this.loadswf();
_init: function()
this._addBackground();
this._updateStyles();
if (!args)
args= [];
if (!args)
args = [];
if (!args)
args = [];
_methodQueue: [],
_clearMethodQueue: function()
var q = this._methodQueue,
l = q.length,
item;