Ultrashock Tutorials > Flash MX 2004 > Flash MX 2004 UI Components  
 
by Aral Balkan,  BitsAndPixels.co.uk 
Download Source Files (5MB!)  
 
Flash MX 2004 UI Components
 

 01. v1 Components, We Hardly Knew Ye 
 02. Button Component 
 03. Alert Component 
 04. Checkbox Component 
 05. Radio Buttons 
 06. The List Box family of Components 
 07. Date Chooser Component 
 08. Date Field Component 
 09. Label Component 

 10. Loader / Progress Bar Components 
 11. Numeric Stepper Component 
 12. Text Area/Input Components 
 13. Menu / Menu Bar Components 
 14. Scroll Pane Component 
 15. Window Component 
 16. Tree Component 
 17. Accordion Component 
 18. Conclusion 

Aral Balkan is co-author of
Flash MX Components Most Wanted.
Click to check it out at Amazon.com!
- discuss this tutorial -

12. Text Area & Text Input Components

The Text Area and Text Input components are roughly equivalent to the single line and multiple line Input Text Fields. We've used the Text Area component in a couple of the examples in this tutorial and there really isn't much more to it apart from what we've made it do there (unless you want to use it with databinding). The important thing to remember is that you get a free scrollbar with the Text Area component, so you may want to use it in place of a multiple line Input Text Field unless you enjoy hacking into the component architecture to use the Scrollbar Component hidden there (unfortunately, Macromedia did not release a standalone Scrollbar Component like the excellent auto-snapping one that exists in Flash MX.) The only other thing to note is that both the Text Area and the Text Input components broadcast change events when their content changes. You should, by now, know how to handle this event if you need to.

- discuss this tutorial -
 
©2003 Ultrashock.com - All rights reserved