<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Controlling a Flex tool tip&#8217;s show delay, hide delay, and scrub delay</title>
	<atom:link href="http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Mon, 13 Feb 2012 01:38:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: David Salahi</title>
		<link>http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/comment-page-1/#comment-8576</link>
		<dc:creator>David Salahi</dc:creator>
		<pubDate>Mon, 29 Nov 2010 19:24:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/#comment-8576</guid>
		<description>OK, thanks, I misunderstood what hideDelay is supposed to do. I was looking for a way to make the tooltip linger after the user moves the mouse off the associated control. I see now that what hideDelay does is hides the tooltip if the mouse remains on the control for longer than the specified delay.

I&#039;ll have to continue searching for a way to delay the disappearance of the tooltip when the user moves the mouse off the control. My use case has a clickable link in the tooltip. However, if the user moves the mouse off the control the tooltip goes away before the user can click it.</description>
		<content:encoded><![CDATA[<p>OK, thanks, I misunderstood what hideDelay is supposed to do. I was looking for a way to make the tooltip linger after the user moves the mouse off the associated control. I see now that what hideDelay does is hides the tooltip if the mouse remains on the control for longer than the specified delay.</p>
<p>I&#8217;ll have to continue searching for a way to delay the disappearance of the tooltip when the user moves the mouse off the control. My use case has a clickable link in the tooltip. However, if the user moves the mouse off the control the tooltip goes away before the user can click it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/comment-page-1/#comment-8400</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Tue, 05 Oct 2010 21:08:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/#comment-8400</guid>
		<description>@David Salahi,

That sounds like the correct behavior (if I understand correctly). From ye olde docs:
&lt;blockquote&gt;
The amount of time, in milliseconds, that Flex waits to hide the ToolTip after it appears. Once Flex hides a ToolTip, the user must move the mouse off the component and then back onto it to see the ToolTip again. If you set hideDelay to Infinity, &lt;em&gt;Flex does not hide the ToolTip until the user triggers an event, such as moving the mouse off of the component&lt;/em&gt;.

The default value is 10000.
&lt;/blockquote&gt;
via http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/managers/ToolTipManager.html#hideDelay

Peter</description>
		<content:encoded><![CDATA[<p>@David Salahi,</p>
<p>That sounds like the correct behavior (if I understand correctly). From ye olde docs:</p>
<blockquote><p>
The amount of time, in milliseconds, that Flex waits to hide the ToolTip after it appears. Once Flex hides a ToolTip, the user must move the mouse off the component and then back onto it to see the ToolTip again. If you set hideDelay to Infinity, <em>Flex does not hide the ToolTip until the user triggers an event, such as moving the mouse off of the component</em>.</p>
<p>The default value is 10000.
</p></blockquote>
<p>via <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/managers/ToolTipManager.html#hideDelay" rel="nofollow">http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/managers/ToolTipManager.html#hideDelay</a></p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Salahi</title>
		<link>http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/comment-page-1/#comment-8398</link>
		<dc:creator>David Salahi</dc:creator>
		<pubDate>Tue, 05 Oct 2010 19:45:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/#comment-8398</guid>
		<description>This doesn&#039;t seem to be working for hideDelay and scrubDelay. When I move my mouse off the buttons in the example above the tooltips disappear immediately regardless of what values are set for those two parameters.  showDelay is working as expected though.</description>
		<content:encoded><![CDATA[<p>This doesn&#8217;t seem to be working for hideDelay and scrubDelay. When I move my mouse off the buttons in the example above the tooltips disappear immediately regardless of what values are set for those two parameters.  showDelay is working as expected though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sydd</title>
		<link>http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/comment-page-1/#comment-946</link>
		<dc:creator>sydd</dc:creator>
		<pubDate>Tue, 02 Dec 2008 15:44:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/#comment-946</guid>
		<description>Hi
great blog!

i have a question too:
How can you dispatch the show tooltip event if im using a custom tooltip?
eg im using these 2 events to contol my tooltip:

this.addEventListener(ToolTipEvent.TOOL_TIP_CREATE,createCustomTip)
this.addEventListener(ToolTipEvent.TOOL_TIP_SHOW,positionTip)

they get fired automatically if i hover the mouse over my sprite, but i want to
show the tooltip in other cases too (like if the sprite coordinates have a specified value)</description>
		<content:encoded><![CDATA[<p>Hi<br />
great blog!</p>
<p>i have a question too:<br />
How can you dispatch the show tooltip event if im using a custom tooltip?<br />
eg im using these 2 events to contol my tooltip:</p>
<p>this.addEventListener(ToolTipEvent.TOOL_TIP_CREATE,createCustomTip)<br />
this.addEventListener(ToolTipEvent.TOOL_TIP_SHOW,positionTip)</p>
<p>they get fired automatically if i hover the mouse over my sprite, but i want to<br />
show the tooltip in other cases too (like if the sprite coordinates have a specified value)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/comment-page-1/#comment-948</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Sat, 29 Nov 2008 21:36:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/#comment-948</guid>
		<description>Michael,

It may differ depending on the component, but try setting the &lt;code&gt;toolTip&lt;/code&gt; property to an empty string.

Peter</description>
		<content:encoded><![CDATA[<p>Michael,</p>
<p>It may differ depending on the component, but try setting the <code>toolTip</code> property to an empty string.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/comment-page-1/#comment-947</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 28 Nov 2008 22:24:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/#comment-947</guid>
		<description>Hello, do you know how to disable a tooltip for a certain component?</description>
		<content:encoded><![CDATA[<p>Hello, do you know how to disable a tooltip for a certain component?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Marttila</title>
		<link>http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/comment-page-1/#comment-945</link>
		<dc:creator>Doug Marttila</dc:creator>
		<pubDate>Mon, 07 Jan 2008 22:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/#comment-945</guid>
		<description>Hey - Just wanted to say thanks for the helpful blog. Please keep up the great work. -- doug</description>
		<content:encoded><![CDATA[<p>Hey &#8211; Just wanted to say thanks for the helpful blog. Please keep up the great work. &#8212; doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/comment-page-1/#comment-944</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Thu, 20 Sep 2007 14:29:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/#comment-944</guid>
		<description>levan,

Yeah, you can use the ToolTipManager class. I think I may even have an example of that somewhere already. Check out the &quot;&lt;a href=&quot;http://blog.flexexamples.com/2007/08/15/creating-tool-tips-manually-using-the-tooltipmanager-class/&quot; rel=&quot;nofollow&quot;&gt;Creating tool tips manually using the ToolTipManager class&lt;/a&gt;&quot; entry and let me know if that was what you were looking for.

Peter

Update: Here&#039;s a slightly simpler example. To remove the tooltip (note that you can have multiple tool tips visible at the same time using the ToolTipManager class), simply call the &lt;code&gt;ToolTipManager.destroyToolTip()&lt;/code&gt; method and pass in the tool tip instance to delete.
&lt;pre class=&quot;code&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
        layout=&quot;vertical&quot;&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.controls.ToolTip;
            import mx.managers.ToolTipManager;

            private var tt:ToolTip;

            private function create_toolTip():void {
                var str:String = &quot;Tooltip text goes here...&quot;;
                // We only want one tooltip.
                if (tt == null) {
                    tt = ToolTipManager.createToolTip(str, 100, 50) as ToolTip;
                }
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:ApplicationControlBar dock=&quot;true&quot;&gt;
        &lt;mx:Button label=&quot;create tool tip&quot; click=&quot;create_toolTip();&quot; /&gt;
    &lt;/mx:ApplicationControlBar&gt;

&lt;/mx:Application&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>levan,</p>
<p>Yeah, you can use the ToolTipManager class. I think I may even have an example of that somewhere already. Check out the &#8220;<a href="http://blog.flexexamples.com/2007/08/15/creating-tool-tips-manually-using-the-tooltipmanager-class/" rel="nofollow">Creating tool tips manually using the ToolTipManager class</a>&#8221; entry and let me know if that was what you were looking for.</p>
<p>Peter</p>
<p>Update: Here&#8217;s a slightly simpler example. To remove the tooltip (note that you can have multiple tool tips visible at the same time using the ToolTipManager class), simply call the <code>ToolTipManager.destroyToolTip()</code> method and pass in the tool tip instance to delete.</p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.controls.ToolTip;
            import mx.managers.ToolTipManager;

            private var tt:ToolTip;

            private function create_toolTip():void {
                var str:String = "Tooltip text goes here...";
                // We only want one tooltip.
                if (tt == null) {
                    tt = ToolTipManager.createToolTip(str, 100, 50) as ToolTip;
                }
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:ApplicationControlBar dock="true"&gt;
        &lt;mx:Button label="create tool tip" click="create_toolTip();" /&gt;
    &lt;/mx:ApplicationControlBar&gt;

&lt;/mx:Application&gt;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: levan</title>
		<link>http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/comment-page-1/#comment-943</link>
		<dc:creator>levan</dc:creator>
		<pubDate>Thu, 20 Sep 2007 14:16:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/03/controlling-a-flex-tool-tips-show-delay-hide-delay-and-scrub-delay/#comment-943</guid>
		<description>nice example. my interest is still to find a way to programatically triger tooltip without user mouse overing on a component, is it possible?</description>
		<content:encoded><![CDATA[<p>nice example. my interest is still to find a way to programatically triger tooltip without user mouse overing on a component, is it possible?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

