Building/adding functionality to the inventory
We now have all of the building blocks that we need in order to create our entire HUD.
With that in mind, let's get building!
- Drag-and-drop two myButton buttons onto the stage while still being in the InvBody movie clip, placing them on the bottom of the inventory box in the way shown in the following screenshot. Make sure the Properties tab is selected on the top-right corner. In their properties, give one the instance name
equipButton and the other the instance name
- Drag-and-drop the
header.png object to the top of our InvBody movie clip (like the following screenshot). Then ...