Reveal |
|
The hotspot in the library is just a coloured shape. Instances of it are placed on the stage to cover areas where you would like the mouse to produce an effect. Code is then added to the hotspots to make this happen.
The hotspot in the example file is an oval but it doesn't matter what it is. Your diagram might have more regular areas that would suit rectangular hotspots, in which case, edit the shape in the library.
The only reason that it is coloured is to that you can see where you place it. All the hotspots will become invisible later.
You can also have more than one hotspot movie clip in the library (hotspot1 - an oval, hotspot2 - a rectangle etc), create a duplicate of the original and name and edit the duplicate as you wish. |
|
|
|
|
|
|
|
The code calls functions on frame 1 of the scripts layer. These functions show a prompt in a text box if the mouse is moved over the hotpsot (rollOver) and toggles the label's visibility if the user clicks (release). It also takes care of tidying up the prompt when the mouse moves away from it (rollOut). |
|
Repeat the above steps until you have all the labels and hotspots you need for the activity.
The only think left to do is to edit some of the code on frame 1 of the scripts layer. |
|