<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
verticalAlign="middle"
backgroundColor="white">
<mx:Script>
<![CDATA[
import mx.managers.ToolTipManager;
// milliseconds (default 10000)
ToolTipManager.hideDelay = 2500;
]]>
</mx:Script>
<mx:ApplicationControlBar dock="true">
<mx:Label text="Mouse over the Button below to see the tool tip." />
</mx:ApplicationControlBar>
<mx:Button id="button" label="click me"
toolTip="I'm a fabulous tool tip." />
<mx:Label text="The tool tip will disappear after {(ToolTipManager.hideDelay/1000).toFixed(1)} seconds." />
</mx:Application>
改变tooltip的停留时间
最新推荐文章于 2026-08-11 13:29:23 发布

356

被折叠的 条评论
为什么被折叠?



