<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bagonca &#187; handcursor</title>
	<atom:link href="http://www.bagonca.com/blog/tag/handcursor/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bagonca.com/blog</link>
	<description>Yet another developer blog</description>
	<lastBuildDate>Fri, 18 Jun 2010 09:28:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HandCursor problems in Flex</title>
		<link>http://www.bagonca.com/blog/2009/03/31/handcursor-problems-in-flex/</link>
		<comments>http://www.bagonca.com/blog/2009/03/31/handcursor-problems-in-flex/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 15:36:57 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Flex/AS]]></category>
		<category><![CDATA[Flex and ActionScript]]></category>
		<category><![CDATA[handcursor]]></category>

		<guid isPermaLink="false">http://www.bagonca.com/blog/?p=14</guid>
		<description><![CDATA[Why doesn't the hand cursor activate over my flex component! wtf!!]]></description>
			<content:encoded><![CDATA[<p>Many times you will want any given component in Adobe Flex to use the hand cursor when you are hovering it, to indicate that you can click it. But on some components you will have to go through a few more steps than is intuitive.</p>
<p>Take for example the <code>Label</code> component. You may assign it as follows:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;">myLabel.<span style="color: #004993;">useHandCursor</span> = <span style="color: #0033ff; font-weight: bold;">true</span>;
myLabel.<span style="color: #004993;">buttonMode</span> = <span style="color: #0033ff; font-weight: bold;">true</span>;</pre></div></div>

<p>And hope that your are done.</p>
<p>WRONG!</p>
<p>You will need to set the property mouseChildren to false for it to work. Like such:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;">myLabel.<span style="color: #004993;">useHandCursor</span> = <span style="color: #0033ff; font-weight: bold;">true</span>;
myLabel.<span style="color: #004993;">buttonMode</span> = <span style="color: #0033ff; font-weight: bold;">true</span>;
myLabel.<span style="color: #004993;">mouseChildren</span> = <span style="color: #0033ff; font-weight: bold;">false</span>;</pre></div></div>

<p>And now you are done, incidentally this will work for most Flex components. <img src='http://www.bagonca.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.bagonca.com/blog/2009/03/31/handcursor-problems-in-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
