Customizing buttons and resizing windows
When working with an inventory of any kind, being as adjustable as possible is a very good stance to take, as many things are going to be iterated on as the game is play-tested. Being able to resize objects without having to recreate art assets is a very valuable tool.
We may also require to introduce functionality that currently doesn't exist in objects.
One way we can be sure our objects will have the functionality that we want is to create classes of our own. But first, let's add in some graphical content!
- On the right-hand side of Flash in the Library tab, right-click and select New Symbol. Once there, in the Name section type in
InvBodyand confirm that the Type value is Movie Clip. Click ...