At first i want to thank nfc for the great chat application.
I used nfc for my flash client chat application, its working well.
Acutally what i want is i need to add my own command to send some variable to server and retreive that. Please Please help me to do that.
or any other way to do that.
I am sending the variable in the form of xml format. The server accepts that and its sending a error message(ie)
"Error: Sorry, I did not recognize that command."
Please help me to sort it out.
Anticipating urs reply.
to add your own commands you will have to write some java-code (but its easy). Take a look at the source code and you will find classes for every command on the server side. The mapping from a command to a class is done in the file /conf/commands.properties where you can add your own command.
Take a look on one of the existing commands and you will see the way it works.
To make the flash-client react to a command, you will have to also modify the client-code. Add your command handler in the engine-fla and your specific actions to the chat-fla.
I hope this gives you a point to start,
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.