# Best way to code this information - list

**URL:** <https://forum.kirupa.com/t/best-way-to-code-this-information-list/320615>\
**Category:** flash\
**Created:** [March 28, 2011, 3:30pm UTC](https://forum.kirupa.com/t/best-way-to-code-this-information-list/320615 "2011-03-28T15:30:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kill\_robot\_kill](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kill_robot_kill/32/359_2.png) [@kill\_robot\_kill](https://forum.kirupa.com/u/kill_robot_kill)\
**Post date:** [March 28, 2011, 3:30pm UTC](https://forum.kirupa.com/t/best-way-to-code-this-information-list/320615/1 "2011-03-28T15:30:39Z")

</div>

I’m wondering what would the best to way represent this data in AS.

> 

**Topic**  
— Point  
------ Detail  
------ Detail  
----------Sub Detail  
---- Point  
------ Detail  
------ Detail

So, my information will be presented in 4 levels: Topic -\> Point -\> Detail -\> Sub Detail. Each level of these will be dynamic, I could have 0 or 1k. There is the hierarchy required, so they can’t enter a detail, without having a point and topic to place it in. But the addition/subtraction of sub items will not come in any required order.

I don’t know if I should use an Array, an object, a dictionary object, an array of objects. I really just need some guidance here. thanks.
