new UWA.Controls.Flash(options)
Display a SWF Adobe Flash file.
Example
var myFlash = new UWA.Controls.Flash({
url: 'http://example.com/animation.swf',
flashVars: {
test: 'hello'
}
});
myFlash.inject(widget.body);
Parameters
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | Options hash or a option/value pair. Properties
|
Extends
- UWA.Controls.Abstract
Index
Members
-
<protected> flashVersion
-
Properties:
Name Type Description flashVersion
String The current detected flash Version.
Methods
-
<protected> buildSkeleton()
-
Build main dom elements.
-
detectFlashVersion() → {Object}
-
Flash detection function from swfObject.
Returns
Object with major, minor and rev properties.
- Type
- Object