Home arrow Flash arrow Page 4 - Flash 101 (part 5): Spiralling Out Of Control

Dynamic Buttons - Flash

This week, find out why movie clip symbols are a Good Thing, andlearn to add interactivity to your Flash movies with the built-in Actions.And when you're done, use the new Flash Projector to distribute your moviesto all and sundry. Who needs Hollywood when you can just roll your own?!

TABLE OF CONTENTS:
  1. Flash 101 (part 5): Spiralling Out Of Control
  2. Recycle Bin
  3. Rebirth
  4. Dynamic Buttons
  5. Mousing Around
  6. Remote Control
  7. Projecting Your Image
By: Vikram Vaswani, (c) Melonfire
Rating: starstarstarstarstar / 5
January 25, 2001

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
By allowing authors to separate animation sequences into separate movie clip symbols, Flash makes it possible to add animation and interactivity to buttons as well.

In your existing Flash movie, create a new button symbol named "spiral-button", and insert an instance of the static graphic symbol "spiral-image" for the Up state (in symbol-editing mode). Next, insert instances of the rotating movie clip symbol "spiral-movie" for the Over and Down states. Finally, for the Hit state, draw a filled box which encloses the entire spiral - this identifies the active area of the button.



Now, each time the button symbol receives a "hover" or "click" event, it will automatically activate and play the movie clip.

Go back to the Stage, and insert an instance of your new button symbol "spiral-button". Use Control -> Test Movie to view the movie clip - you'll see something like this:


Now, isn't that just dandy?

This article copyright Melonfire 2001. All rights reserved.

 
 
>>> More Flash Articles          >>> More By Vikram Vaswani, (c) Melonfire
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

FLASH ARTICLES

- An Overview of Flash and ActionScript
- Building Web Forms In Flash
- Building Data-Driven Flash Movies
- Flash 101 (part 6): The Final Countdown
- Flash 101 (part 5): Spiralling Out Of Control
- Flash 101 (Part 4): Don't Touch Me!
- Flash 101 (part 3): Bouncing Around

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: