_server.sendResponse "str" adds one parameter to t

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

Moderators: Lapo, Bax

User avatar
Pippoflash
Posts: 135
Joined: 30 Jan 2006, 17:16
Contact:

_server.sendResponse "str" adds one parameter to t

Postby Pippoflash » 12 Feb 2006, 14:18

Hey :)
one question...
is it normal that when I send an array with sendResponse() in "str" format, the room ID gets added in the slot 1 of the array?
I could find documentation about this...

thx
P
-----------------------
www.pippoflash.com
-----------------------
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 12 Feb 2006, 15:36

Yep it is.
Your data start at position 2.
The reason is because the first 2 positions are occupied by the name of the command and the source room id

You should check the "Realtime Maze" tutorial to see the "str" format in action.
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