Jump to content


text area components


  • You cannot reply to this topic
2 replies to this topic

#1 _*spoiled-dezigner_*

  • Guests

Posted 27 December 2005 - 01:50 AM

help me i want to change tha background color of my textarea..please

#2 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 27 December 2005 - 06:56 AM

_global.styles.TextArea.setStyle("backgroundColor", 0xF0F8FF);
With this your textarea component should get a lightblue background.

Attention: Your are changing the global style of the component TextArea as also the textInput, since both are using the same class!

If you want to separate it, you need to create a new CSSStyleDeclaration for it!

Funkysoul

#3 _*spoiled-dezigner_*

  • Guests

Posted 27 December 2005 - 08:44 AM

thnks so much funky soul ill try it





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users