Thanks for your answer Artem, you're always helpful.
I managed to solve my problem, but in a somewhat different way.
I used an ExternalInterface.call where the return object contains a nested array in the form of xml data. Like this:
Code: Select all
<array>
<property id='0'>
<array>
<property id='0'>
<string>Filename</string>
</property>
<property id='1'>
<string>Description</string>
</property>
</array>
</property>
<property id='1'>
<array>
<property id='0'>
<string>Filename</string>
</property>
<property id='1'>
<string>Description</string>
</property>
</array>
</property>
<property id='2'>
<array>
<property id='0'>
<string>Filename</string>
</property>
<property id='1'>
<string>Description</string>
</property>
</array>
</property>
</array>
Hopefully this can be usefull for someone else.