Changing the background color of an error tip in Flex 3
by Sameera Thilakasiri on 7th February 2010 at 4:35 pm - Action Script 3.0, Flex 3
The following example shows how you can change the background color of a Flex error tip by setting the borderColor style on the .errorTip CSS selector.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
verticalAlign="middle"
backgroundColor="white">
<mx:Style>
@font-face {
src: local("Base 02");
fontFamily: Base02Embedded;
}
.errorTip {
borderColor: haloOrange;
color: black;
fontFamily: Base02Embedded;
fontSize: 16;
fontWeight: normal;
}
TextInput {
errorColor: haloOrange;
}
</mx:Style>
<mx:TextInput id="textInput"
errorString="Hey, you missed a spot!" />
</mx:Application>
Incoming search terms:
- changing color of errortip in flex 4 (2)
- change the background color for textinput flex 3 (1)
- flex errorTip css (1)
- flex errortip color (1)
- flex errortip (1)
- flex error tip color (1)
- flex 3 error tips styling (1)
- errortip background (1)
- changing color of error tip flex in css style (1)
- change the color of error string in flex (1)
- flex jquery background change (1)
Sameera at LinkedIn