mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 09: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,49 @@
|
||||
package org.osmf.events
|
||||
{
|
||||
import flash.events.Event;
|
||||
import flash.net.NetConnection;
|
||||
import org.osmf.media.URLResource;
|
||||
|
||||
public class NetConnectionFactoryEvent extends Event
|
||||
{
|
||||
|
||||
public static const CREATION_COMPLETE:String = "creationComplete";
|
||||
|
||||
public static const CREATION_ERROR:String = "creationError";
|
||||
|
||||
private var _netConnection:NetConnection;
|
||||
|
||||
private var _resource:URLResource;
|
||||
|
||||
private var _mediaError:MediaError;
|
||||
|
||||
public function NetConnectionFactoryEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:NetConnection = null, param5:URLResource = null, param6:MediaError = null)
|
||||
{
|
||||
super(param1,param2,param3);
|
||||
_netConnection = param4;
|
||||
_resource = param5;
|
||||
_mediaError = param6;
|
||||
}
|
||||
|
||||
public function get netConnection() : NetConnection
|
||||
{
|
||||
return _netConnection;
|
||||
}
|
||||
|
||||
public function get resource() : URLResource
|
||||
{
|
||||
return _resource;
|
||||
}
|
||||
|
||||
public function get mediaError() : MediaError
|
||||
{
|
||||
return _mediaError;
|
||||
}
|
||||
|
||||
override public function clone() : Event
|
||||
{
|
||||
return new NetConnectionFactoryEvent(type,bubbles,cancelable,_netConnection,_resource,_mediaError);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user