Lab 4 Notes -- Transparency and Layers lab
Wondering what Lab 4 is supposed to look like when you have it all scripted?
Check out these 2 examples
Republicans
Democrats
Note that these examples display 8 maps...but we'll be showing 6. Also note the "checkbox" is a set size and font...but you'll need to allocate space for it on your image. You can also decide if you want the map to appear blank or have the initial 1976 year visible (your call).
There are 2 main scripts for the lab. They are printed in the write-up...but there are digital copied you can cut and paste into your action window (read the instructions to get it in the correct place). Remember to modify the name of the maps...
Election1988Map._visible = false;
(which makes that map invisible when the movie starts)
on (click) {
if (this.selected) {
_root.Election1988Map._visible = true;
} else {
_root.Election1988Map._visible = false;
}
}
(which directs the checkbox to turn the map on or off if the box is checked or not)
0 Comments:
Post a Comment
<< Home