mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 09:37:50 -05:00
39 lines
1.1 KiB
ActionScript
39 lines
1.1 KiB
ActionScript
package org.osmf.events
|
|
{
|
|
import flash.events.Event;
|
|
import org.osmf.containers.IMediaContainer;
|
|
|
|
public class ContainerChangeEvent extends Event
|
|
{
|
|
|
|
public static const CONTAINER_CHANGE:String = "containerChange";
|
|
|
|
private var _oldContainer:IMediaContainer;
|
|
|
|
private var _newContainer:IMediaContainer;
|
|
|
|
public function ContainerChangeEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:IMediaContainer = null, param5:IMediaContainer = null)
|
|
{
|
|
super(param1,param2,param3);
|
|
_oldContainer = param4;
|
|
_newContainer = param5;
|
|
}
|
|
|
|
public function get oldContainer() : IMediaContainer
|
|
{
|
|
return _oldContainer;
|
|
}
|
|
|
|
public function get newContainer() : IMediaContainer
|
|
{
|
|
return _newContainer;
|
|
}
|
|
|
|
override public function clone() : Event
|
|
{
|
|
return new ContainerChangeEvent(type,bubbles,cancelable,_oldContainer,_newContainer);
|
|
}
|
|
}
|
|
}
|
|
|