You don't need frames to view this website. Flash communication server. Flash mx xml socket server.
Home
Main Menu
Home
- - - - - - -
What is Palabre ?
Features
News
FAQ
Forum
DEMO
- - - - - - -
Downloads !
Browse SVN
- - - - - - -
Search
Contact Us
- - - - - - -
Sourceforge Project Page
Python
Links
Palabre on Facebook






Actionscript for Multiplayer games
 
Download Palabre Flash Xml Socket Server DOWNLOAD Download Palabre Flash Xml Socket Server FORUM Download Palabre Flash Xml Socket Server FAQ Download Palabre Flash Xml Socket Server WHAT IS IT
 



Using Palabre ? Coming here for Support ? Please consider making an (even small) donation :)
Palabre Forum  


Post a new message in "Default Forum"
Name:
Subject:
topic icon:
no
boardcode:
 Colour:  Size:   Close all tags
Message:
CAPTCHA: How much is 8 added to 10

Topic History of: extracting client params within Flash
Max. showing the last posts - (Last post first)
Author Message
paras jihhaa :D i got it work:



example



Code:

 

function Pal_On_clients(node) {
    

    if(
node.hasChildNodes()) {

//example how to load custom para
if(node.childNodes[p].childNodes[1].nodeName == "param") {
trace(node.childNodes[p].childNodes[1].attributes['name']);
trace(node.childNodes[p].childNodes[1].attributes['value']);
}

}

}




that works fine ;)
Tischi I have the same Problem ^^ :(
mark_vador Hi there,

I just started developping a multiuser flash game.

I want to use the clients params function but i have some little problems getting the informations back in Flash (I'm really new to xml).

I'm using 2 params, named posx and posy.

when i ask in Flash, for exemple, for the fisrt user connected to the server, i put in Flash something like
Code:

 trace(Mynode.childNodes[1]);

and then I receive
Code:

 <client name="user1">
<
param name="posx" value="250" />
<
param name="posy" value="250" />
  </
client>


if I want to extract the name I use
Code:

 Mynode.childNodes[1].attributes['name']

and receive
Code:

 user1


But now I'd like to know how I can receive the parameters values, (250 for posx and 250 for posy in this example)
Thanks a lot if you can help me for that
SORRY, website is currently mostly broken due to software changes on the server.
Hope to fix it soon ...

In the meantime you may still download palabre or use the forum