main.mxml
- <?xml version="1.0" encoding="utf-8"?>
- <mx:Applicationxmlns:mx="http://www.adobe.com/2006/mxml"
- layout="vertical"
- verticalAlign="middle"
- backgroundColor="white">
- <mx:Style>
- @font-face{
- src: local("Arial");
- fontFamily: "ArialEmbedded";
- fontWeight: bold;
- }
- HSlider {
- dataTipOffset: -22;
- dataTipStyleName: "myDataTip";
- }
- .myDataTip {
- backgroundColor: black;
- color: white;
- fontWeight: bold;
- fontFamily: ArialEmbedded;
- fontSize: 16;
- }
- </mx:Style>
- <mx:HSliderid="slider" />
- </mx:Application>