Home arrow Flash arrow Page 2 - Flash MX Pro 2004 - Text Area Component
FLASH

Flash MX Pro 2004 - Text Area Component


FlashFlash 5 introduces specialized movie clips called SmartClips. The major drawback was that SmartClips exported into the first frame of a movie, and could cause serious loading delays, a nightmare for anyone on dialup. Flash MX introduced an improvement in the TextField component which reduced the need to export it as a SmartClip. Enter TextArea. In this article, we’ll discuss the TextArea component in detail, as well as covering some of the possible bugs that might be encountered while working with it.

Author Info:
By: Jefferis Peterson
Rating: 4 stars4 stars4 stars4 stars4 stars / 55
January 26, 2004
TABLE OF CONTENTS:
  1. · Flash MX Pro 2004 - Text Area Component
  2. · Transition
  3. · The TextArea Component – First Encounter
  4. · Bugs
  5. · Using the TextArea
  6. · Steps

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Flash MX Pro 2004 - Text Area Component - Transition
(Page 2 of 6 )

The advantage of Flash MX was that it was easy to change text color or other HTML styles using standard tags inside a text file. A file could be formatted using basic HTML markup. The new release of Studio MX 2004 has forced conversion on the developer community to immediately adopt XML and CSS based content creation. While many gurus will applaud the transition as good for the future of web standardization, the abrupt transition makes adopting the new MM programs doubly difficult because it requires a person to learn XML and CSS while also trying to learn the new ActionScript 2 environment. Having been in web design since the early days (1994), I cut my teeth in design when CSS for anything more than setting font styles created major conflicts with different browsers. CSS was a headache, and XML was used primarily for cell-phones. Now that these two codes are becoming the standard, it will be necessary to learn them, but the tools to streamline the creation of XML files, for example, don't exist yet. We are in the early days of this standard, and so it is back to hand coding for the developers.

While the creation of CSS layouts in Dreamweaver MX 2004 is supported with Panels and other benefits, Flash 2004 is not able to recognize all the standard HTML tags. Some tags will be ignored or may cause Flash to choke. Since you can only use a subset of standard HTML tags in Flash, you are better off creating original CSS tags (see sample.css below) and not using Dreamweaver's default editor.

So now, in order to place anything other than a plain text into the TextArea Component, it requires a CSS file to govern text layout, a file for the text itself (written with embedded XML or HTML tags), a Class StyleSheet, and an XML object in a frame on the stage. If that sounds confusing, it is, and it is part of the reason that learning Flash 2004 is not easy. As you will see in the tutorial below, many lines of hand written code replace the elegant simplicity of Flash 5's simple URL pointer to a text file.


blog comments powered by Disqus
FLASH ARTICLES

- More Top Flash Game Tutorials
- Top Flash Game Tutorials
- Best Flash Photo Gallery Tutorials
- The Top Flash Tutorials for Menus
- 7 Great Flash Tutorials
- Adobe Creative Suite 5.5 Now Available
- Critical Flash Vulnerability Heats Up the Web
- More on Nonpersistent Client-Side Remote Sha...
- Nonpersistent Client-Side Remote Shared Obje...
- Using the Decorator Pattern for a Real Web S...
- Using Concrete Decorator Classes
- Delving More Deeply into the Decorator Patte...
- The Decorator Pattern in Action
- A Simple Decorator Pattern Example
- Decorator Pattern

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 11 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials