Search found 4602 matches

by Bax
31 Mar 2008, 15:38
Forum: SmartFoxServer 1.x Discussions and Help
Topic: My Rooms
Replies: 4
Views: 6712

Allowing users to create persistent rooms is not recommended, as it could lead to a huge impact on the server performance if rooms are never removed. Also, not using persistent rooms makes my first suggested approach valid. By the way, you can't read room variables on the client-side from outside th...
by Bax
31 Mar 2008, 06:56
Forum: SmartFoxServer 1.x Discussions and Help
Topic: My Rooms
Replies: 4
Views: 6712

Maybe when you create the room you can keep a reference to its name, and when you receive the onRoomAdded event related to that room, display it in the other list too.
by Bax
31 Mar 2008, 06:53
Forum: SmartFoxServer 1.x Discussions and Help
Topic: wierd chat issue
Replies: 11
Views: 11815

This seems to be an application problem. Double check your public message handler implementation. Maybe you can post it here.
by Bax
26 Mar 2008, 07:29
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How to integrate smartfox server with PHP
Replies: 1
Views: 4132

Which kind of integration are you looking for?
by Bax
25 Mar 2008, 10:03
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Does SmartFoxServer support shared objects like in FMS?
Replies: 1
Views: 3828

SmartFoxServer has a similar feature, the Room variables. In room variables you can save data that will be shared among all the users in a room. You can find more info here: http://www.smartfoxserver.com/docs/index.htm?http://www.smartfoxserver.com/docs/docPages/tutorials_basic/11_roomVars/index.htm
by Bax
18 Mar 2008, 10:50
Forum: RedBox
Topic: How can I use many Red5 instance with one SFS?
Replies: 3
Views: 8805

In order to use several Red5 servers you will need to modify the RedBox client-side and server-side classes in order to handle the connection to different server. Also, for live broadcasting (for example the a/v chat) you will need to make sure that both users connect to the same Red5 instance.
by Bax
17 Mar 2008, 14:45
Forum: SmartFoxServer 1.x Discussions and Help
Topic: { NEW } SmartFoxServer 1.6.2 with RedBox final!
Replies: 22
Views: 48139

Thanks bax example application is run now but there is one more problem i found that error while red5 is ruining well http://www.mediafire.com/imageview.php?quickkey=llsmzi9mkjx&thumb=4 :?: As the reported error mentions, the connection to the Red5 server is not available. It is probably not ru...
by Bax
17 Mar 2008, 07:39
Forum: SmartFoxServer 1.x Discussions and Help
Topic: { NEW } SmartFoxServer 1.6.2 with RedBox final!
Replies: 22
Views: 48139

Re: AS 2 ??

Hey, does Redbox work with AS 2?? Our whole Project is AS2 at the moment, and we hope we dont have to move to AS3 just yet... Currently we are evaluating if the RedBox API should be ported to AS2: there's a number of technical issues in doing this. Also, it all depends on the number of requests for...
by Bax
17 Mar 2008, 07:35
Forum: SmartFoxServer 1.x Discussions and Help
Topic: { NEW } SmartFoxServer 1.6.2 with RedBox final!
Replies: 22
Views: 48139

It seems your Flex projects aren't configured properly. "src" should be the main project source folder (in fact you have 2 mxml files with the same name per project, and this is wrong). Also, you have to add the SmartFoxServer AS3 API folder (that you can find in your SmartFoxServer instal...
by Bax
15 Mar 2008, 14:29
Forum: SmartFoxServer 1.x Discussions and Help
Topic: { NEW } SmartFoxServer 1.6.2 with RedBox final!
Replies: 22
Views: 48139

You probably have to add the SmartFoxServer AS3 api classes as source folder for the project. Can you report the full error messages?
by Bax
15 Mar 2008, 12:33
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room List on Movieclip
Replies: 9
Views: 11094

set the counter to 0 at the beginning:

Code: Select all

var counter:Number = 0
by Bax
15 Mar 2008, 11:09
Forum: SmartFoxServer 1.x Discussions and Help
Topic: False room
Replies: 3
Views: 5471

You create the room list on the stage (probably using the for-loop we talked about in another post), so just check the room name in the loop and avoid to add the "welcome room".
by Bax
15 Mar 2008, 10:35
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room List on Movieclip
Replies: 9
Views: 11094

I second Lapo's suggestion. In your code, if you initialize the counter inside the for-loop, at each loop it will restart from 1. Also, to increase the counter you have to do +=1, not only +1. So the right code would be: smartfox.onRoomListUpdate = function(roomList:Object) { roomList_l...
by Bax
14 Mar 2008, 12:54
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room List on Movieclip
Replies: 9
Views: 11094

Maybe you should increase your knowledge of Actionscript, or you may find a lot of difficulties. A counter is increased by adding 1 at each cycle in the for-loop:

Code: Select all

counter = counter + 1

or simply

Code: Select all

counter++
by Bax
14 Mar 2008, 09:56
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room List on Movieclip
Replies: 9
Views: 11094

Cycle through the room list, and for each room increase a counter, then call:

Code: Select all

mainlist["room" + counter].roomname.text = room.getName()

Go to advanced search