Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Java -> AS

Avatar

Level 1
This works.

java: return( new Object[] { list1, list2, list3 } );

AS get list1: event.result[0]



How do I return named objects from java so I can access them
by name:

java: ???

AS get list1: event.result.list1



thanks.
0 Replies

Avatar

Level 1
found solution:

java:

Map rtn = new LinkedHashMap();

rtn.put("list1",list1);

rtn.put("list2",list2);

rtn.put("list3",list3);

return rtn;