Text Area Component Help, Please

  • Belk Media Group
  • Director of Art
  • Professor
  • User avatar
  • Posts: 776
  • Loc: California, Fresno.

Post 3+ Months Ago

Is there anyway to change the background color of the text area component or make it transparent? Also, can the gray border around it be removed?
Thanks in advance.
  • joebert
  • Genius
  • Genius
  • User avatar
  • Posts: 13511
  • Loc: Florida

Post 3+ Months Ago

If you understand Actionscript, what you're looking for is here.

{Flash Install Directory}/{Language Code}/First Run/Classes/


Code: [ Select ]
UIObject.setStyle("backgroundColor", 0x123456);
UIObject.setStyle("borderColor", 0x123456);
  1. UIObject.setStyle("backgroundColor", 0x123456);
  2. UIObject.setStyle("borderColor", 0x123456);

If you've ever altered CSS styles with Javascript, thoose two settings should be somewhat familiar.
Flash uses the same camelNotation as Javascript for the styles, however not all of the same style properties are valid.

Note that Flash doesn't like strings such as "#123456" for colors, it likes ints & will ignore strings.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 6 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.