Inventory

Hello! I have a question!

How would i make an inventory? Like for example.

I press i, then a inventory window takes place of the screen.

I can press up and down to chose what item, and from their i can equip it and such.

I know its not much to work with, but could i get some help?

I use flash mx professional 2004