|
Add a More Complex Behavior to the Animated Flower
Add another effect, click and hold on the third + button to add the command Sprite->Change Ink Choose Reverse
Use Control->Play to play the animation.
Notice the flower stays in Reverse Ink mode.
Fix this by clicking and holding on the second + button down to add the command MouseLeave. Click and hold on the third + button to add the command Sprite->Change Ink. Choose Copy, so when the mouse leaves the flower it will change back to normal.
You may drag and drop this behavior from the Internal Cast Window on top of any Sprite (or flower) on the Stage Window.
Just for fun click the Script button in the Behavior Window, this shows you the script you created. Later when you learn more about Lingo, you can write your own scripts to create interactivity. |