Text Area

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.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jul 18th, 2007, 12:22
Reputable Member
Join Date: Mar 2007
Location: UK
Posts: 305
Thanks: 0
Thanked 0 Times in 0 Posts
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jul 18th, 2007, 15:02
Reputable Member
Join Date: May 2006
Location: NC, USA
Age: 16
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
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...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jul 18th, 2007, 15:14
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jul 18th, 2007, 15:16
Junior Member
Join Date: Jul 2007
Location: England
Age: 24
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jul 18th, 2007, 16:24
Reputable Member
Join Date: May 2006
Location: NC, USA
Age: 16
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Text Area

This is for text area's right?

Ah...I see what I missed...haha...I feel stupid now...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jul 18th, 2007, 16:28
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
text area

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 05:55.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42