More Java examples!

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

duke
Posts: 31
Joined: 16 Apr 2009, 11:23

More Java examples!

Postby duke » 17 Apr 2009, 11:59

It would be great to see the existing AS server examples as java code :)

On a related topic, can you do _server.md5() in J? I only see hashCode(), which doesn't have the same function as md5, and returns an int.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 20 Apr 2009, 11:33

Please take a look at the Java Extensions Cookbook ->
http://www.smartfoxserver.com/docs/docP ... okBook.htm

On a related topic, can you do _server.md5() in J? I only see hashCode(), which doesn't have the same function as md5, and returns an int.

Use the MD5 class that is documented in the javadoc -> http://www.smartfoxserver.com/docs/docP ... o/MD5.html
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 20 guests