Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-12-2012, 01:54 PM   #1
kkudi
Registered User
 
Join Date: Jan 2012
Posts: 3
Default backgroundColor on TextInput not working properly

I've recently upgraded my app into Flex 4.5.1.

I have an mx:TextInput whose background colour I have changed to backgroundColor="0xffffc3"

Back in Flex 3, the entire text input would change color. Now the only bit that changes colour is the background behind the actual text written within the TextInput.

Am I doing something wrong?

Has something changed?

I am using the Halo theme and not the Spark theme if it makes any difference.

I cannot submit an image because my post count is less than 50 so can't illustrate the problem.

Last edited by kkudi; 01-12-2012 at 01:58 PM.
kkudi is offline   Reply With Quote
Old 01-12-2012, 05:31 PM   #2
adaminaudio
Member
 
Join Date: Jan 2012
Posts: 62
Default

hi,

have you maybe tried to set the background color using the setStyle method?

something like this maybe:

myTextInput.setStyle('backgroundColor', "#ffffc3")
adaminaudio is offline   Reply With Quote
Old 01-13-2012, 08:06 AM   #3
kkudi
Registered User
 
Join Date: Jan 2012
Posts: 3
Default

yes I have. the problem was a class that wrapped the TextInput. I had to set backgroundAlpha to 0 and it worked.
kkudi is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT. The time now is 07:03 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.