Abstract
We spent a lot of the last chapter discussing how functions can help to give your scripts a nice, clear structure — especially when you choose them wisely and name them sensibly! One of the techniques we looked at dealt with nesting functions inside one another. That way, we can break down any complex task into a few slightly simpler subtasks, break each of those down into even simpler sub-subtasks, and so on, until each one reaches a level where it just needs a few simple actions to do its job. We end up with lots of short, tightly focused functions, each playing its own special part in the overall movie script.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2002 Apress
About this chapter
Cite this chapter
Bhangal, S., Renow-Clarke, B. (2002). Objects. In: Foundation ActionScript for Macromedia Flash MX. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5410-2_7
Download citation
DOI: https://doi.org/10.1007/978-1-4302-5410-2_7
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-59059-166-6
Online ISBN: 978-1-4302-5410-2
eBook Packages: Springer Book Archive