# HELP Item="" Linking to a container in CODE, question

**URL:** <https://forum.kirupa.com/t/help-item-linking-to-a-container-in-code-question/209186>\
**Category:** flash\
**Created:** [December 6, 2006, 5:44pm UTC](https://forum.kirupa.com/t/help-item-linking-to-a-container-in-code-question/209186 "2006-12-06T17:44:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![EduardoD](https://avatars.discourse-cdn.com/v4/letter/e/df705f/32.png) [@EduardoD](https://forum.kirupa.com/u/EduardoD)\
**Post date:** [December 6, 2006, 5:44pm UTC](https://forum.kirupa.com/t/help-item-linking-to-a-container-in-code-question/209186/1 "2006-12-06T17:44:36Z")

</div>

I am trying to link the item numbers (in the code) in a vertical sliding menu to a container.  
I can add the number of items but then the (Flashkit) sample does not include the item linking code to a specific container…

ti = 20;  
n = 0;  
while (Number(n)\<Number(ti)) {  
set(“item” add n, “item” add n);  
item0=“test”  
item1=“test”  
item2=“test”  
item3=“test”  
item4=“test”  
n = Number(n)+1;  
}

Help
