Essential ActionScript 3.0
The book focuses on the core language and object-oriented programming, but also adds a deep look at the centerpiece of Flash Player's new API: display programming. Enjoy hundreds of brand new pages covering exciting new language features, such as the DOM-based event architecture, E4X, and namespaces--all brimming with real-world sample code.
drommels: Thank you for both your contribution and explanation: it's simple, elegant, and extremely handy. I actually can't believe Adobe didn't bother to make TextArea work with StyleSheet, maybe it was an oversight. Regardless, I look forward to seeing many more of your contributions.
while trying to find a solution I stumbled on your post. This was not satisfying enough for me so we wrote a new solution overcoming the problem of not being able to load a stylesheet.
see: http://www.sharedknowhow.com/2008/07/fixed-flash-textarea-css-incompatibility/
drommels: Thank you for both your contribution and explanation: it's simple, elegant, and extremely handy. I actually can't believe Adobe didn't bother to make TextArea work with StyleSheet, maybe it was an oversight. Regardless, I look forward to seeing many more of your contributions.
while trying to find a solution I stumbled on your post. This was not satisfying enough for me so we wrote a new solution overcoming the problem of not being able to load a stylesheet. see: http://www.sharedknowhow.com/2008/07/fixed-flash-textarea-css-incompatibility/
Error in line 3. Should be: tf.color = "0xFEFEFE";