Text Area Component Help, Please

  • Belk Media Group
  • Graphic Monk
  • Professor
  • User avatar
  • Posts: 778
  • Loc: In the heart of 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.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13503
  • 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/

mx/controls/TextArea.as
mx/core/UIObject.as
my/styles/StyleManager.as

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 20 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-2014. Ozzu® is a registered trademark of Unmelted, LLC.