Yahoo! UI Library

Uploader  2.5.1

Yahoo! UI Library > uploader > YAHOO.widget.FlashAdapter

Show Private Show Protected

Class YAHOO.widget.FlashAdapter - uses YAHOO.util.AttributeProvider

Wraps Flash embedding functionality and allows communication with SWF through attributes.

Properties

Properties inherited from YAHOO.util.AttributeProvider:

Methods

toString

String toString ( )
Public accessor to the unique name of the FlashAdapter instance.
Returns: String
Unique name of the FlashAdapter instance.

Events

backgroundColorChange

backgroundColorChange ( eventInfo )
Fires when the value for the configuration attribute 'backgroundColor' changes.
Parameters:
eventInfo <{oldValue: any, newValue: any}> An object containing the previous attribute value and the new value.

beforeBackgroundColorChange

beforeBackgroundColorChange ( eventInfo )
Fires before the value for the configuration attribute 'backgroundColor' changes. Return false to cancel the attribute change.
Parameters:
eventInfo <{oldValue: any, newValue: any}> An object containing the current attribute value and the new value.

beforeExpressInstallChange

beforeExpressInstallChange ( eventInfo )
Fires before the value for the configuration attribute 'expressInstall' changes. Return false to cancel the attribute change.
Parameters:
eventInfo <{oldValue: any, newValue: any}> An object containing the current attribute value and the new value.

beforeSwfURLChange

beforeSwfURLChange ( eventInfo )
Fires before the value for the configuration attribute 'swfURL' changes. Return false to cancel the attribute change.
Parameters:
eventInfo <{oldValue: any, newValue: any}> An object containing the current attribute value and the new value.

beforeVersionChange

beforeVersionChange ( eventInfo )
Fires before the value for the configuration attribute 'version' changes. Return false to cancel the attribute change.
Parameters:
eventInfo <{oldValue: any, newValue: any}> An object containing the current attribute value and the new value.

beforeWmodeChange

beforeWmodeChange ( eventInfo )
Fires before the value for the configuration attribute 'wmode' changes. Return false to cancel the attribute change.
Parameters:
eventInfo <{oldValue: any, newValue: any}> An object containing the current attribute value and the new value.

contentReady

contentReady ( )
Fires when the SWF is initialized and communication is possible.

expressInstallChange

expressInstallChange ( eventInfo )
Fires when the value for the configuration attribute 'expressInstall' changes.
Parameters:
eventInfo <{oldValue: any, newValue: any}> An object containing the previous attribute value and the new value.

swfURLChange

swfURLChange ( eventInfo )
Fires when the value for the configuration attribute 'swfURL' changes.
Parameters:
eventInfo <{oldValue: any, newValue: any}> An object containing the previous attribute value and the new value.

versionChange

versionChange ( eventInfo )
Fires when the value for the configuration attribute 'version' changes.
Parameters:
eventInfo <{oldValue: any, newValue: any}> An object containing the previous attribute value and the new value.

wmodeChange

wmodeChange ( eventInfo )
Fires when the value for the configuration attribute 'wmode' changes.
Parameters:
eventInfo <{oldValue: any, newValue: any}> An object containing the previous attribute value and the new value.

Configuration Attributes

backgroundColor - String

The background color of the SWF. Only available in the constructor because it may not be set after Flash Player has been embedded in the page.

expressInstall - String

URL pointing to a SWF file that handles Flash Player's express install feature. Only available in the constructor because it may not be set after Flash Player has been embedded in the page.

swfURL - String

Absolute or relative URL to the SWF displayed by the FlashAdapter. Only available in the constructor because it may not be set after Flash Player has been embedded in the page.

version - String

Minimum required version for the SWF file. Only available in the constructor because it may not be set after Flash Player has been embedded in the page.

wmode - String

Sets the window mode of the Flash Player control. May be "window", "opaque", or "transparent". Only available in the constructor because it may not be set after Flash Player has been embedded in the page.


Copyright © 2007 Yahoo! Inc. All rights reserved.