<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical">
<mx:Style>
.customTextInput {
borderStyle: inset;
borderColor: #ff0000;
backgroundColor: #ffff99;
color: #cc0000;
textAlign: center;
letterSpacing: 5;
fontSize: 24;
fontWeight: bold;
fontStyle: italic;
}
</mx:Style>
<mx:TextInput
styleName="customTextInput"
width="200"
text="Value One" />
<mx:TextInput
borderStyle="inset"
borderColor="#FF0000"
color="#CC0000"
textAlign="center"
letterSpacing="5"
fontSize="24"
fontWeight="bold"
fontStyle="italic"
width="200"
text="Value Two" />
</mx:Application>
|