-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathWebEvent.as
More file actions
38 lines (24 loc) · 830 Bytes
/
WebEvent.as
File metadata and controls
38 lines (24 loc) · 830 Bytes
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
34
35
36
37
38
package webService
{
import flash.events.Event;
import mx.rpc.AsyncToken;
/**take status value to check if this process is successful*/
public class WebEvent extends Event
{
public static const EVENT_CONNECTED:String = "onConnectedToServer",
EVENT_DISCONNECTED:String = "onConnectioFaild",
LoginResult:String = "LoginResult",
GetTasksResult:String = "GetTasksResult",
GetUsersProfileResult:String = "GetUsersProfileResult",
GetServerDateResult:String = "GetServerDateResult",
Result:String = "Result";
public var pureData:String ;
public var token:AsyncToken ;
public function WebEvent(type:String,pureString:String='',myToken:AsyncToken=null)
{
pureData = pureString ;
token = myToken;
super(type,true);
}
}
}