about Buddy System

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Post Reply
prince_hao
Posts: 71
Joined: 30 Oct 2010, 04:35

about Buddy System

Post by prince_hao »

I want to know if there is more direct method acquires on-line good friend, now I need foreach the buddyList Whether the judgment of a per is on-line, do you have more simple method?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Hi,
the question is not very clear to me, can you explain it maybe with a snippet of code that clarifies the problem?
Lapo
--
gotoAndPlay()
...addicted to flash games
prince_hao
Posts: 71
Joined: 30 Oct 2010, 04:35

Post by prince_hao »

if(buddy.isOnline()){
trace(buddy.getName());
}
The code of top, Some buddy didn't Register, but could still print the buddyName,why?????
Post Reply