This is a discussion on "Text Area" within the Flash & Multimedia Forum section. This forum, and the thread "Text Area are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Text Area
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Text Area
Can you change the background colour on a Text area from the components panel in flash?
At the moment it is set to white (standard) |
|
|
|
#2
|
|||
|
|||
|
Re: Text Area
I couldn't find a way.
I tried with the Components inspector as well as the properties, which I'm sure you have tried as well... That or I'm completely missing something... |
|
#3
|
|||
|
|||
|
Re: Text Area
Say your text field had an instance name of..."mytxt"
You can change values using AS like this: (I don't think you can do it from the components panel.) mytxt.background = true; //need to set this b/c the default is false mytxt.backgroundcolor = ffffff; There are other values you can change, such as: border borderColor textColor Along with many others, including alignment and such. Hope this helps.
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
|
#4
|
|||
|
|||
|
Re: Text Area
instancename.backgroundColor = "0x339933";
or instancename.setStyle("backgroundColor", "0x339933"); as found at: http://livedocs.adobe.com/flash/mx20...=00002833.html And http://livedocs.adobe.com/flash/mx20...9.html#1063729 |
|
#5
|
|||
|
|||
|
Re: Text Area
This is for text area's right?
Ah...I see what I missed...haha...I feel stupid now... |
|
#6
|
|||
|
|||
|
Re: Text Area
Yes, but you can use this same format (kind of like .css) in flash for any text fields, fonts, sizes and so on. Which overall can help with load times and so on, just like a CSS is used globally, so could those...
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
![]() |
| Tags |
| text area |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] multiple columns, text floats out of area... Best solution? | alfandango | Web Page Design | 7 | Apr 17th, 2008 12:00 |
| Making a text area | martyoo | Web Page Design | 4 | Aug 29th, 2007 20:19 |
| text area | geyids | Flash & Multimedia Forum | 4 | May 31st, 2007 12:25 |
| Scrollable text viewing area | WebMan76 | Starting Out | 1 | May 29th, 2007 12:38 |
| Pasting Word Doc into Text Area | Paula | Web Page Design | 6 | Aug 25th, 2006 09:15 |