|
Switch Example 2
Requirement : Turn on a light with a switch. Have two lights flashing in an alternate manner.
Solution. Place switch and link to light icon. Place two extra lights and link to generator.
Here the property of the alternate flash lights must be set such that it illuminates when the input is OFF. This means the two lights flash out of sequence.
The following FLASH movie shows the output. Click on the start button to play the movie or click on the large triangle on the play bar.
You can see that the two lights, light1 and light2 flash alternately, whereas Light illuminates when the switch is pressed.
|