hi,

in former release i could send numeric Array's to server side methods using
this java method:

public void myMethod (Object myObject[]){

   log.info("Array length: "+myObject.length);
   log.info("Array 0: "+myObject[0]);

}

the *Array length* returned the number of items.

if i now sed an Array to red5 like i always get *Array length: 1* no matter
how many items the array has i have send.

and the first Index-Item of the Array contains the hole array as String:

for Example if the Array i have send in Flash has been:
var myArray = new Array();
myArray[0] = "A";
myArray[1] = "B";
myArray[2] = "C";
myArray[3] = "D";

the result will be:
Array length: 1
Array 0: { 1:"A", 2:"B", 3:"C", 4:"D" }

any ideas? or did i have to change my code for receiving an array/object
from the client?


sebastian

--
Sebastian Wagner
http://www.webbase-design.de
http://www.laszlo-forum.de
[EMAIL PROTECTED]
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to