/*===================MXML代码==================*/
/*=================JAVA代码=================*/
/*使用ArrayList 接收flex 传来的Array或ArrayCollection*/
public void testArray(ArrayList list){
System.out.print("(");
for (int i = 0; i < list.size()-1; i++) {
System.out.print("'"+list.get(i)+"',");
}
System.out.print("'"+list.get(list.size()-1)+"'");
System.out.println(")");
}
/*使用List 接收flex 传来的ArrayCollection或Array*/
public void testArrayCol(List list){
System.out.print("(");
for (int i = 0; i < list.size()-1; i++) {
System.out.print("'"+list.get(i)+"',");
}
System.out.print("'"+list.get(list.size()-1)+"'");
System.out.println(")");
}