In today's article, Allan shows you how to abstract all the parameters for his flash button into Actionscript, making a generic function that allows the Flash button to be controlled programmatically from outside Flash.
This 13 page article is suitable for beginners and intermediate Actionscripters and Dreamweaver users who wish to enhance the interactivity and look of buttons by using Flash.
Overview
Table of Content:
- The core button
- Altering last week's button
- Creating the button from scratch
- ActionScript concepts
- Making it all dynamic
- Creating the Movie clip
- Giving the button some more to do
- The root timeline
- The code itself
- Variables for testing
- Building our own functions
- Starting the animation
- Stopping the animation
- Creating the animThing Object
- The animThing.startup() function
- The animThing.doAnim function
- The animThing.grow function
- Adding more animations
- Putting it all together
Allan comes from Cape Town, South Africa. He has been implicated in writing for several WROX, glasshaus, Wiley and Apress publications, generally in the 'cool stuff that PHP can do' sections. 


