mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 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,41 @@
|
||||
package org.osmf.events
|
||||
{
|
||||
import flash.events.Event;
|
||||
|
||||
public class DynamicStreamEvent extends Event
|
||||
{
|
||||
|
||||
public static const SWITCHING_CHANGE:String = "switchingChange";
|
||||
|
||||
public static const NUM_DYNAMIC_STREAMS_CHANGE:String = "numDynamicStreamsChange";
|
||||
|
||||
public static const AUTO_SWITCH_CHANGE:String = "autoSwitchChange";
|
||||
|
||||
private var _switching:Boolean;
|
||||
|
||||
private var _autoSwitch:Boolean;
|
||||
|
||||
public function DynamicStreamEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:Boolean = false, param5:Boolean = false)
|
||||
{
|
||||
super(param1,param2,param3);
|
||||
_switching = param4;
|
||||
_autoSwitch = param5;
|
||||
}
|
||||
|
||||
public function get switching() : Boolean
|
||||
{
|
||||
return _switching;
|
||||
}
|
||||
|
||||
public function get autoSwitch() : Boolean
|
||||
{
|
||||
return _autoSwitch;
|
||||
}
|
||||
|
||||
override public function clone() : Event
|
||||
{
|
||||
return new DynamicStreamEvent(type,bubbles,cancelable,_switching,_autoSwitch);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user