# Adding a MC to an element of an array?

**URL:** <https://forum.kirupa.com/t/adding-a-mc-to-an-element-of-an-array/190939>\
**Category:** Uncategorized\
**Created:** [June 15, 2006, 9:24pm UTC](https://forum.kirupa.com/t/adding-a-mc-to-an-element-of-an-array/190939 "2006-06-15T21:24:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![badmonur](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@badmonur](https://forum.kirupa.com/u/badmonur)\
**Post date:** [June 15, 2006, 9:24pm UTC](https://forum.kirupa.com/t/adding-a-mc-to-an-element-of-an-array/190939/1 "2006-06-15T21:24:18Z")

</div>

I want to plcae a movie clip in somthing like an inventory, so it will show a movie clip of the element of the array if it is there.  
|-----------------------------|  
|  
[$] \<- icon\_MC [#]\<-amount|  
| |  
| |  
|\<—(inventory screen)—\> |

| |
| --- |

Inventory [0]= gold;

and how do I set the value of that element. Say 500gold?
