button with tooltip test
♥0 |
Line 21 |
Modified 2011-02-25 19:46:10 |
MIT License
archived:2017-03-20 06:21:22
ActionScript3 source code
/**
* Copyright tjoen ( http://wonderfl.net/user/tjoen )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/wt80
*/
<?xml version="1.0"?>
<!-- tooltips/ToolTipStyles.mxml -->
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:s="library://ns.adobe.com/flex/spark">
<fx:Style>
@namespace mx "library://ns.adobe.com/flex/mx";
mx|ToolTip {
fontFamily: "Arial";
fontStyle: "normal";
color: #FFFFFF;
backgroundColor: #000000;
backgroundAlpha: 1.0;
color: white;
cornerRadius: 8;
fontSize: 12;
}
</fx:Style>
<s:Button id="b1" label="Click Me" x="230" y="200" toolTip="This Button does nothing."/>
</s:Application>