![]() |
Previous | Next |
Mapping images are used for specific controls to specify which regions will respond to mouse clicks and to determine which controls receive which events. The mapping image must be the same height and width as the primary image and should be registered exactly so that the images in both files are lined up exactly. For this reason, an art program such as Adobe PhotoShop is recommended because you can work in layers to be certain your images are perfectly aligned.
Different controls require different types of mapping. A ButtonElement control needs a map that has a different color for each button. The colored areas in the mapping file must correspond to the areas of the buttons you want to map.
Previous | Next |