Packagecom.brightcove.api.events
Classpublic class EmbedCodeEvent
InheritanceEmbedCodeEvent Inheritance flash.events.Event

Events specifically for embed code retrieval in the player. See the article, Post to MySpace Widget, to download code examples for this event.



Public Properties
 PropertyDefined By
  snippet : String
[read-only] Returns the embed code snippet held by the event.
EmbedCodeEvent
Public Methods
 MethodDefined By
  
EmbedCodeEvent(type:String, snippet:String = null)
Constructor.
EmbedCodeEvent
  
clone():Event
[override] Returns a copy of the event instance.
EmbedCodeEvent
Public Constants
 ConstantDefined By
  EMBED_CODE_RETRIEVED : String = embedCodeRetrieved
[static] The EmbedCodeEvent.EMBED_CODE_RETRIEVED constant defines the value of the type property of the event object for a embedCodeRetrieved event.
EmbedCodeEvent
Property Detail
snippetproperty
snippet:String  [read-only]

Returns the embed code snippet held by the event.


Implementation
    public function get snippet():String
Constructor Detail
EmbedCodeEvent()Constructor
public function EmbedCodeEvent(type:String, snippet:String = null)

Constructor.

Parameters
type:String — name if the event.
 
snippet:String (default = null) — embed code snippet connected with the event.
Method Detail
clone()method
override public function clone():Event

Returns a copy of the event instance.

Returns
Event — A copy of the event.
Constant Detail
EMBED_CODE_RETRIEVEDConstant
public static const EMBED_CODE_RETRIEVED:String = embedCodeRetrieved

The EmbedCodeEvent.EMBED_CODE_RETRIEVED constant defines the value of the type property of the event object for a embedCodeRetrieved event.