<?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: An indepth look at Flex Events</title>
	<atom:link href="http://codeofdoom.com/wordpress/2009/03/02/an-indepth-look-at-flex-events/feed/" rel="self" type="application/rss+xml" />
	<link>http://codeofdoom.com/wordpress/2009/03/02/an-indepth-look-at-flex-events/</link>
	<description></description>
	<lastBuildDate>Sun, 29 Jan 2012 03:53:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Anonymous</title>
		<link>http://codeofdoom.com/wordpress/2009/03/02/an-indepth-look-at-flex-events/comment-page-1/#comment-439</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 16 Dec 2010 04:04:19 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=221#comment-439</guid>
		<description>i want clear explanation about  stop propagation and stopimmediatepropagation</description>
		<content:encoded><![CDATA[<p>i want clear explanation about  stop propagation and stopimmediatepropagation</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BeverlyCase</title>
		<link>http://codeofdoom.com/wordpress/2009/03/02/an-indepth-look-at-flex-events/comment-page-1/#comment-396</link>
		<dc:creator>BeverlyCase</dc:creator>
		<pubDate>Sat, 14 Aug 2010 23:24:35 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=221#comment-396</guid>
		<description>Specialists tell that &lt;a href=&quot;http://bestfinance-blog.com/topics/business-loans&quot; rel=&quot;nofollow&quot;&gt;business loans&lt;/a&gt; help a lot of people to live the way they want, because they can feel free to buy needed stuff. Moreover, a lot of banks present college loan for young and old people.</description>
		<content:encoded><![CDATA[<p>Specialists tell that <a href="http://bestfinance-blog.com/topics/business-loans" rel="nofollow">business loans</a> help a lot of people to live the way they want, because they can feel free to buy needed stuff. Moreover, a lot of banks present college loan for young and old people.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rahul agarwal</title>
		<link>http://codeofdoom.com/wordpress/2009/03/02/an-indepth-look-at-flex-events/comment-page-1/#comment-369</link>
		<dc:creator>rahul agarwal</dc:creator>
		<pubDate>Thu, 10 Jun 2010 07:28:57 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=221#comment-369</guid>
		<description>stop propagation and stopImmediatePropagation is good but bubble and cancalable is not properly present</description>
		<content:encoded><![CDATA[<p>stop propagation and stopImmediatePropagation is good but bubble and cancalable is not properly present</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Siraj</title>
		<link>http://codeofdoom.com/wordpress/2009/03/02/an-indepth-look-at-flex-events/comment-page-1/#comment-241</link>
		<dc:creator>Siraj</dc:creator>
		<pubDate>Wed, 29 Jul 2009 11:53:52 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=221#comment-241</guid>
		<description>Hi... many thanks for the great post... I actually have a problem with my combobox which is customized to select multiple items. The problem is, it fires multiple change events on selection change; so is there any way to stop an event already fired? 
The detail is posted here: http://forums.adobe.com/thread/469331 
Regards,
Siraj</description>
		<content:encoded><![CDATA[<p>Hi&#8230; many thanks for the great post&#8230; I actually have a problem with my combobox which is customized to select multiple items. The problem is, it fires multiple change events on selection change; so is there any way to stop an event already fired?<br />
The detail is posted here: <a href="http://forums.adobe.com/thread/469331" rel="nofollow">http://forums.adobe.com/thread/469331</a><br />
Regards,<br />
Siraj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tont0r</title>
		<link>http://codeofdoom.com/wordpress/2009/03/02/an-indepth-look-at-flex-events/comment-page-1/#comment-86</link>
		<dc:creator>tont0r</dc:creator>
		<pubDate>Tue, 03 Mar 2009 15:04:55 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=221#comment-86</guid>
		<description>Kevlin,

I could agree with you, its definitely good for web applications. Although javascript didnt come to mind first since I do have limited exposure to it. I was thinking about it being like developing a desktop application since since they run in their own little VM and just the way events are handled remind me a lot of java action listeners. Certainly a lot of less form submits than normal web applications :P.</description>
		<content:encoded><![CDATA[<p>Kevlin,</p>
<p>I could agree with you, its definitely good for web applications. Although javascript didnt come to mind first since I do have limited exposure to it. I was thinking about it being like developing a desktop application since since they run in their own little VM and just the way events are handled remind me a lot of java action listeners. Certainly a lot of less form submits than normal web applications <img src='http://codeofdoom.com/wordpress/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcel</title>
		<link>http://codeofdoom.com/wordpress/2009/03/02/an-indepth-look-at-flex-events/comment-page-1/#comment-85</link>
		<dc:creator>Marcel</dc:creator>
		<pubDate>Tue, 03 Mar 2009 15:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=221#comment-85</guid>
		<description>Darren, 

Yeah, I could have been a bit clearer about the preventDefault. Here is a good example of what I was referring to:
&lt;a href=&quot;http://blog.flexexamples.com/2008/03/07/preventing-line-feeds-in-a-textarea-control-in-flex/#more-548&quot; rel=&quot;nofollow&quot;&gt;Check this out&lt;/a&gt;
Each type they type out something, it goes to the textEvent. If the text is a &quot;\n&quot;, it will prevent the default action, when is to display it within the input box. 

Hope that helps!</description>
		<content:encoded><![CDATA[<p>Darren, </p>
<p>Yeah, I could have been a bit clearer about the preventDefault. Here is a good example of what I was referring to:<br />
<a href="http://blog.flexexamples.com/2008/03/07/preventing-line-feeds-in-a-textarea-control-in-flex/#more-548" rel="nofollow">Check this out</a><br />
Each type they type out something, it goes to the textEvent. If the text is a &#8220;\n&#8221;, it will prevent the default action, when is to display it within the input box. </p>
<p>Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kelvin Luck</title>
		<link>http://codeofdoom.com/wordpress/2009/03/02/an-indepth-look-at-flex-events/comment-page-1/#comment-83</link>
		<dc:creator>Kelvin Luck</dc:creator>
		<pubDate>Tue, 03 Mar 2009 07:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=221#comment-83</guid>
		<description>It&#039;s interesting you say that the flash event model makes it similar to developing desktop applications... To me it makes it more similar to developing web applications - it&#039;s basically the W3C event model which has been available in web browsers through javascript for years...</description>
		<content:encoded><![CDATA[<p>It&#8217;s interesting you say that the flash event model makes it similar to developing desktop applications&#8230; To me it makes it more similar to developing web applications &#8211; it&#8217;s basically the W3C event model which has been available in web browsers through javascript for years&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren</title>
		<link>http://codeofdoom.com/wordpress/2009/03/02/an-indepth-look-at-flex-events/comment-page-1/#comment-80</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Mon, 02 Mar 2009 22:46:18 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=221#comment-80</guid>
		<description>This bit doesn&#039;t make a lot of sense to me, &quot;One example is the MouseEvent.DOUBLE_CLICK event. When you fire this event, it will highlight the string that the mouse is hovering over.&quot; Highlight the string? I guess you mean the label or the UITextField of a standard Button? It doesn&#039;t seem to make any changes to this for me either. It just briefly shows the downSkin which effectively changes the background colour of the button.

@ Justin, I find it easiest to create a custom event with weakReferences set to true and extend this for all my other events. Easier than writing out all those extra parameters every time just to set the fifth one to true when you usually only need the first two. You can add a generic data Object to this event too to make it more useful, or just extend DynamicEvent  for your custom event.</description>
		<content:encoded><![CDATA[<p>This bit doesn&#8217;t make a lot of sense to me, &#8220;One example is the MouseEvent.DOUBLE_CLICK event. When you fire this event, it will highlight the string that the mouse is hovering over.&#8221; Highlight the string? I guess you mean the label or the UITextField of a standard Button? It doesn&#8217;t seem to make any changes to this for me either. It just briefly shows the downSkin which effectively changes the background colour of the button.</p>
<p>@ Justin, I find it easiest to create a custom event with weakReferences set to true and extend this for all my other events. Easier than writing out all those extra parameters every time just to set the fifth one to true when you usually only need the first two. You can add a generic data Object to this event too to make it more useful, or just extend DynamicEvent  for your custom event.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: An indepth look at Flex Events &#124; Switch on the Code</title>
		<link>http://codeofdoom.com/wordpress/2009/03/02/an-indepth-look-at-flex-events/comment-page-1/#comment-79</link>
		<dc:creator>An indepth look at Flex Events &#124; Switch on the Code</dc:creator>
		<pubDate>Mon, 02 Mar 2009 16:10:08 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=221#comment-79</guid>
		<description>[...] An indepth look at Flex Events  Source:   Code of Doom       Excerpt: [...]</description>
		<content:encoded><![CDATA[<p>[...] An indepth look at Flex Events  Source:   Code of Doom       Excerpt: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Reidy</title>
		<link>http://codeofdoom.com/wordpress/2009/03/02/an-indepth-look-at-flex-events/comment-page-1/#comment-78</link>
		<dc:creator>Justin Reidy</dc:creator>
		<pubDate>Mon, 02 Mar 2009 14:56:53 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=221#comment-78</guid>
		<description>You forgot my favorite / most used event argument - useWeakReferences! Events default to using Strong references to listeners, which means that you can have situations in which you lose your named reference to the host of a listener, thus preventing you from removing the event listener. The listener floats around in memory, never to be garbage collected, because of the strong reference. Setting useWeakReferences to true avoids this potential problem. There are a couple of situations where you&#039;d want to be careful with weak references, though - most notably in the case of using an anonymous function as your listener, since a weak reference would garbage collect the function before it is called!

David Coletta has some good points here: http://www.colettas.org/?p=115</description>
		<content:encoded><![CDATA[<p>You forgot my favorite / most used event argument &#8211; useWeakReferences! Events default to using Strong references to listeners, which means that you can have situations in which you lose your named reference to the host of a listener, thus preventing you from removing the event listener. The listener floats around in memory, never to be garbage collected, because of the strong reference. Setting useWeakReferences to true avoids this potential problem. There are a couple of situations where you&#8217;d want to be careful with weak references, though &#8211; most notably in the case of using an anonymous function as your listener, since a weak reference would garbage collect the function before it is called!</p>
<p>David Coletta has some good points here: <a href="http://www.colettas.org/?p=115" rel="nofollow">http://www.colettas.org/?p=115</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

