room isactive?

Post here your questions about the Flash / Flex / Air API for SFS2X

Moderators: Lapo, Bax

bryanadams

room isactive?

Postby bryanadams » 25 Mar 2012, 20:33

hi,
how can i read this property (room->isactive) in flex(actionscript),
thanks
secret007
Posts: 58
Joined: 29 May 2009, 06:27

Re: room isactive?

Postby secret007 » 26 Mar 2012, 06:57

what do you mean by room is active ?? what do you want to check ?
======================================================
Choose a job of your choice and you will never have to work in life !!!
secret007
Posts: 58
Joined: 29 May 2009, 06:27

Re: room isactive?

Postby secret007 » 26 Mar 2012, 07:16

oh yh got it,

you can check it in java on server side, please check the server side java api docs, in particular check SFSRoom class,

http://docs2x.smartfoxserver.com/api-docs/javadoc/server/com/smartfoxserver/v2/entities/SFSRoom.html#isActive()
======================================================
Choose a job of your choice and you will never have to work in life !!!
bryanadams

Re: room isactive?

Postby bryanadams » 26 Mar 2012, 07:54

thanks for your reply,so how can i get from client side
thanks
secret007
Posts: 58
Joined: 29 May 2009, 06:27

Re: room isactive?

Postby secret007 » 26 Mar 2012, 09:56

you cannot do that on client side, because client AS3 API doesn't provides this function, so you have to do this in custom extension(java) may be in zone extension or whatever logic you want to use ...
======================================================
Choose a job of your choice and you will never have to work in life !!!

Return to “SFS2X ActionScript 3 API”

Who is online

Users browsing this forum: No registered users and 25 guests