mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-21 17:37:50 -05:00
Brought up to date with the private repository (feea4c7)
This commit is contained in:
1 parent
1aa738d692
commit
1b1df1ae48
7925 files changed
+2617237
-20
No files matched your search
@@ -0,0 +1,52 @@
|
||||
package org.osmf.events
|
||||
{
|
||||
import flash.events.Event;
|
||||
import org.osmf.metadata.Metadata;
|
||||
|
||||
public class MediaElementEvent extends Event
|
||||
{
|
||||
|
||||
public static const TRAIT_ADD:String = "traitAdd";
|
||||
|
||||
public static const TRAIT_REMOVE:String = "traitRemove";
|
||||
|
||||
public static const METADATA_ADD:String = "metadataAdd";
|
||||
|
||||
public static const METADATA_REMOVE:String = "metadataRemove";
|
||||
|
||||
private var _traitType:String;
|
||||
|
||||
private var _namespaceURL:String;
|
||||
|
||||
private var _metadata:Metadata;
|
||||
|
||||
public function MediaElementEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, traitType:String = null, namespaceURL:String = null, metadata:Metadata = null)
|
||||
{
|
||||
super(type,bubbles,cancelable);
|
||||
this._traitType = traitType;
|
||||
this._namespaceURL = namespaceURL;
|
||||
this._metadata = metadata;
|
||||
}
|
||||
|
||||
override public function clone() : Event
|
||||
{
|
||||
return new MediaElementEvent(type,bubbles,cancelable,this.traitType,this.namespaceURL,this.metadata);
|
||||
}
|
||||
|
||||
public function get traitType() : String
|
||||
{
|
||||
return this._traitType;
|
||||
}
|
||||
|
||||
public function get namespaceURL() : String
|
||||
{
|
||||
return this._namespaceURL;
|
||||
}
|
||||
|
||||
public function get metadata() : Metadata
|
||||
{
|
||||
return this._metadata;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user