[Bindable] public var ary1:Array=[];
private function init():void{
ary1.push('黃曉華1');
ary1.push('黃曉華2');
ary1.push('黃曉華3');
remoteObject.tt(ary1)
}
<mx:RemoteObject id ="remoteObject" destination ="helloWorld" source = "news.HelloWorld" result ="resultHandler(event)" fault="faultHandler(event)" /
public String tt(ArrayList b) {
//String[] b={"a","b","c"};
//int a=Array.getLength(b);
// b[0].toString();
int i;
String aa="";
for(i=0;i< b.size(); i++){
aa=aa+b.get(i).toString();
}
System.err.println("7 d77777888");
return aa;
}