Skip to main content

Components

  • Chapter
  • 52 Accesses

Abstract

Components are one of the most powerful new features of Macromedia Flash MX. They allow us to create compact, reusable objects such as those included with Flash MX, such as scrollbars, drop-down menus and radio buttons. The ability to build components is a very useful skill, and the approaches we take to make our components flexible and self-contained can be applied to other areas of Flash. We can use the same approach whenever we want to create self—contained objects with their own internal logic that can be slotted into larger systems. When creating a component, we are basically creating a new class, a template from which we can instantiate objects with their own methods and properties. When we drag a component on stage we create an instance of this class. The component is a movie clip, but it is also part of the new class that we’re defining; the new class inherits from the movie clip class, which means that it also has access to all the properties and methods of an ordinary movie clip.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer Science+Business Media New York

About this chapter

Cite this chapter

Baldwin, D. et al. (2002). Components. In: Flash MX Studio. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5166-8_5

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-5166-8_5

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-59059-188-8

  • Online ISBN: 978-1-4302-5166-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics