-
Notifications
You must be signed in to change notification settings - Fork 0
/
CajLoadersJob.as
33 lines (30 loc) · 937 Bytes
/
CajLoadersJob.as
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
*
* @author Dmitriy Kravtsov <[email protected]>
* @version 1.0.0
*
*/
package ru.ajaxvs.android.loaders {
import flash.net.URLLoader;
import flash.net.URLRequest;
internal class CajLoadersJob {
//========================================
public var loader:URLLoader;
public var request:URLRequest;
public var onComplete:Function;
public var onIoError:Function;
public var onSecurityError:Function;
public var onStatus:Function;
public var reloads:int = 0;
//========================================
public function CajLoadersJob(loader:URLLoader, request:URLRequest, onComplete:Function, onIoError:Function, onSecurityError:Function, onStatus:Function) {
this.loader = loader;
this.request = request;
this.onComplete = onComplete;
this.onIoError = onIoError;
this.onSecurityError = onSecurityError;
this.onStatus = onStatus;
}
//========================================
}
}