I was searching for flash multiuser servers today and tested something like 10 of them. I didn't take palabre seriously at first because it seemed very very new, but the fact is that it is one of two that ran withouth any problems when I downloaded it and tested it. I looked at he python code and it looks very nice (in case something has to be extended and anything) I need such chat for some portal for kids and palabre (after testing a lot of them) seems best solution. When was this started? News don't have dates on, but these two forum posts seem like totally fresh ones.
best wishes, I will try to making with palabre soon and contact you again. Janko M.
In fact it's not really a new project. I started it two years, for a flash game project and then left it in a corner.
A year ago i put it on sourceforge but it wasn't referenced anywhere, and there was no documentation, no example, ...
And then recently i built this web site, i started documenting the code (it's still in progress ...) and creating example flash clients.
So i'm back working at it, and i'll do the few things proposed on the vote box (configuration file, startup scripts, ...)
Anyway if you use this in production, i'd be glad to hear about it. And eventually if you add some functionnalities in the code i'd be happy to add them :)
Re:nice - 2005/10/20 16:40Is there any chance .fla can be saved as flash MX (I suppose it's MX 2003 now). I only have mx and older so I can't open it. If it is any trouble, don't bother, I will get mx 2003 somewhere.
Re:nice - 2005/10/22 07:07It would really be nice. I am new in flash so having an example would help a lot. Or if you can just copy the flash code somewhere.
Re:nice - 2005/10/25 12:38I have flash MX - isn't that newer than flash 7, well I am not sure. If you copy paste the code is also good to me, whatever makes you the less trouble or work.
Re:nice - 2005/10/27 12:56No i think in order it is : Flash 5 Flash 6 = MX Flash 7 = MX 2004 Flash 8
But i'll copy actionscript here :
The following refers to the actionscript in PalabreFlash.fla To get it work you will need to add variables, and textfields, .. (like a textfield : "txtdebug" , ...)
px.onXML = function (msg) { /* function called when XML node is received */
var PalNode = msg.firstChild; var PalNodeName = PalNode.nodeName; var PalNodeValue = PalNode.firstChild.nodeValue;
/********************* ************************* The following is important !! It will call a function named : Pal_On_NAME_OF_THE_NODE you then just have to create functions to handle the different nodes
like : Pal_On_m () , Pal_On_rooms() , Pal_On_Clients ()...
***************/
ret = eval('Pal_On_'+PalNodeName)(PalNode);
/* Just debug */ debug('<font color="#007700">*'+getTimer()+'* <b>Incoming :</b> <br>'+x2h(msg.toString())+"</font>"); }
/**************** Example Pal_On_m */
function Pal_On_m(node) { if(node.attributes['r'] == _root.LobbyRoom) { nick = node.attributes['f']; if( nick == _root.myNickName) { nick = "<font color='#aa0000'>"+nick+"</font>"; } else { nick = "<font color='#0000aa'>"+nick+"</font>"; } _root.Pchat.text ='<b>['+nick+'] : </b>'+node.firstChild.nodeValue+"<br/>"+ _root.Pchat.text ; } else { Alert.show( node.firstChild.nodeValue,"Message from : "+node.attributes['f'], Alert.OK, null, myClickHandler, "testIcon", Alert.OK); } }
function Pal_On_clients(node) {
var rooms = new Array(); if(node.hasChildNodes()) {
Re:nice - 2005/10/28 18:00Thanks, I will try it. I am still on dial-up and flash 8 is 100MB so this is not an option for me. Thanks for clearing it out for me, I didn't know glash 6 is MX ... I am mixing this with MS Visual Studio I gues... insted it has .NET for MX.. :)
Re:nice - 2005/10/30 10:07It works... thaks a lot. Now I have to decide what features chat should have, it's for kids portal and I want to make few things special. I will give you link when I have it done.