diff -r 322d0feea350 -r 89ef5ed3c48b src/cm/media/js/lib/yui/yui_3.10.3/api/classes/SWF.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.10.3/api/classes/SWF.html Tue Jul 16 14:29:46 2013 +0200 @@ -0,0 +1,2318 @@ + + + + + SWF - YUI 3 + + + + + + + + +
+
+
+ +

+ +
+
+ API Docs for: 3.10.3 +
+
+
+ +
+ +
+
+
+ Show: + + + + + + + +
+ + +
+
+
+

SWF Class

+
+ +
+ Uses + +
+ + + + + +
+ Defined in: swf/js/swf.js:29 +
+ + + + + Module: swf + + + + +
+ + + +
+

Creates the SWF instance and keeps the configuration data

+
+ + +
+

Constructor

+
+

SWF

+ + +
+ (
    + +
  • + + id + +
  • + +
  • + + swfURL + +
  • + +
  • + + p_oAttributes + +
  • + +
) +
+ + + + + + + + + + + + + + + + +
+ + + +

+ + Defined in + + + + + swf/js/swf.js:29 + +

+ + + + + +
+ +
+ +
+ + +
+

Parameters:

+ +
    + +
  • + + id + String | HTMLElement + + + + +
    +

    The id of the element, or the element itself that the SWF will be inserted into. + The width and height of the SWF will be set to the width and height of this container element.

    +
    + + +
  • + +
  • + + swfURL + String + + + + +
    +

    The URL of the SWF to be embedded into the page.

    +
    + + +
  • + +
  • + + p_oAttributes + Object + + + + +
    +

    (optional) Configuration parameters for the Flash application and values for Flashvars + to be passed to the SWF. The p_oAttributes object allows the following additional properties: +

    +
    version : String
    +
    The minimum version of Flash required on the user's machine.
    +
    fixedAttributes : Object
    +
    An object literal containing one or more of the following String keys and their values: align, + allowFullScreen, allowNetworking, allowScriptAccess, base, bgcolor, menu, name, quality, salign, scale, + tabindex, wmode. event from the thumb
    +

    +
    + + +
  • + +
+
+ + + + + +
+ +
+ + +
+ + +
+
+

Item Index

+ + +
+

Methods

+ + +
+ + + +
+

Properties

+ + +
+ + + + + +
+

Events

+ + +
+ +
+ + +
+

Methods

+ + +
+

_eventHandler

+ + +
+ (
    + +
  • + + event + +
  • + +
) +
+ + + + + + + + private + + + + + + + + + + +
+ + + +

+ + Defined in + + + + + swf/js/swf.js:147 + +

+ + + + + +
+ +
+ +
+ + +
+

Parameters:

+ +
    + +
  • + + event + Object + + + + +
    +

    The event to be propagated from Flash.

    +
    + + +
  • + +
+
+ + + + + +
+ + +
+

callSWF

+ + +
+ (
    + +
  • + + func + +
  • + +
  • + + args + +
  • + +
) +
+ + + + + + + + + + + + + + + + +
+ + + +

+ + Defined in + + + + + swf/js/swf.js:164 + +

+ + + + + +
+ +
+

Calls a specific function exposed by the SWF's +ExternalInterface.

+
+ + +
+

Parameters:

+ +
    + +
  • + + func + String + + + + +
    +

    the name of the function to call

    +
    + + +
  • + +
  • + + args + Array + + + + +
    +

    the set of arguments to pass to the function.

    +
    + + +
  • + +
+
+ + + + + +
+ + +
+

eventHandler

+ + +
+ (
    + +
  • + + swfid + +
  • + +
  • + + event + +
  • + +
) +
+ + + + + + + + private + + + + + + + + + + +
+ + + +

+ + Defined in + + + + + swf/js/swf.js:134 + +

+ + + + + +
+ +
+ +
+ + +
+

Parameters:

+ +
    + +
  • + + swfid + String + + + + +
    +

    the id of the SWF dispatching the event

    +
    + + +
  • + +
  • + + event + Object + + + + +
    +

    the event being transmitted.

    +
    + + +
  • + +
+
+ + + + + +
+ + +
+

toString

+ + + () + + + + + String + + + + + + + + + + + + + + + +
+ + + +

+ + Defined in + + + + + swf/js/swf.js:184 + +

+ + + + + +
+ +
+

Public accessor to the unique name of the SWF instance.

+
+ + + + +
+

Returns:

+ +
+ + + String: + + Unique name of the SWF instance. + +
+
+ + + +
+ + +
+ + + +
+

Properties

+ + +
+

_instances

+ Object + + + + + private + + + + + + +
+ + + +

+ + Defined in + + + + + swf/js/swf.js:125 + +

+ + + + +
+ +
+ +
+ + + + + + +
+ + +
+ + + + + +
+

Events

+ + +
+

wrongflashversion

+ + + + + + + + + + +
+ + + +

+ + Defined in + + + + + swf/js/swf.js:112 + +

+ + + + +
+ +
+

Fired when the Flash player version on the user's machine is +below the required value.

+
+ + + + + +
+ + +
+ +
+
+ +
+
+
+
+
+
+ + + + + + + + + +