|
Project Information
Links
|
Nateon Messenger Library for Actionscript 3.0 (Flex/AIR)
How to use1. make an Account objectvar a:Account = new Account(); 2. add eventlistener to account objecta.addEventListener(AccountEvent.STATE_CHANGE, onStatusChange); 3. connect to notification server with email, pwd, init status a.connect('your_email', 'your_pwd', AccountState.ONLINE);4. If the connection is opened, the account object dispatch event STATE_CHANGE.And It will be hadled by onStatusChange function. function onStatusChange(event:AccountEvent):void
{
for each (var friend:Friend in a.data.friends)
{
trace(friend.data.email);
}
}Requirements1. as3corelib ( http://code.google.com/p/as3corelib/ )Contact mebuvlet@gmail.com or buzzler@hotmail.com or buzzler@mobswing.com |