<?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: AS3 Signals Bubbling note</title>
	<atom:link href="http://www.dehash.com/?feed=rss2&#038;p=241" rel="self" type="application/rss+xml" />
	<link>http://www.dehash.com/?p=241</link>
	<description>Flash Flex Air OS and web related content</description>
	<lastBuildDate>Wed, 21 Jul 2010 12:15:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: dehash</title>
		<link>http://www.dehash.com/?p=241&#038;cpage=1#comment-28137</link>
		<dc:creator>dehash</dc:creator>
		<pubDate>Thu, 10 Jun 2010 12:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.dehash.com/?p=241#comment-28137</guid>
		<description>@Will
I would defer to Penner the Signals main author for a definitive answer but I think a lot of what you have asked is open for discussion. So if you have an idea for implementation it is worth pursuing to see how well it works and what others think. 

Regarding tooltips yes you could use Signals for that and bubble from the Sprite to the document class as you say. It is not that different to the example movie posted above. Using that approach might not scale well though so for larger projects though I would recommend using Signals within a structure like RobotLegs. 

Passing params is referenced a little above and there are at least three methods using the existing Signals source code: Passing &quot;this&quot;, passing a VO, extending GenericEvent. </description>
		<content:encoded><![CDATA[<p>@Will<br />
I would defer to Penner the Signals main author for a definitive answer but I think a lot of what you have asked is open for discussion. So if you have an idea for implementation it is worth pursuing to see how well it works and what others think. </p>
<p>Regarding tooltips yes you could use Signals for that and bubble from the Sprite to the document class as you say. It is not that different to the example movie posted above. Using that approach might not scale well though so for larger projects though I would recommend using Signals within a structure like RobotLegs. </p>
<p>Passing params is referenced a little above and there are at least three methods using the existing Signals source code: Passing &#8220;this&#8221;, passing a VO, extending GenericEvent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://www.dehash.com/?p=241&#038;cpage=1#comment-28136</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Tue, 08 Jun 2010 20:43:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.dehash.com/?p=241#comment-28136</guid>
		<description>Hi All,

I played with this approach and it works well. I am enjoying Signals very much. Learning a lot too!

There are 2 things I find myself needing in some scenarios when bubbling and wanted to know if they are valid needs or is there a better model I could be using.

1. Ability to pass along some params with the bubbling event.

For example this would be useful for a tooltip class that lives in your document class. Dispatch a signal from anywhere in your app and send along the tooltip string for display.

2. Would be nice to listen for a specific bubbling event as opposed to listening for all bubbling events and then checking to see if it&#039;s the event you wanted.

For example a single onEventBubbled handler may find one event to show a tooltip and another to tell when an animation is finished.

Using a single handler for all bubbling events would require me identify every event bubbling through the chain - then either kill it and handle it or let it move on by. Would we need to re-dispatch unwanted bubbling events? Would this slow things down if there was an onEventBubbled handler on every level up the chain?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>I played with this approach and it works well. I am enjoying Signals very much. Learning a lot too!</p>
<p>There are 2 things I find myself needing in some scenarios when bubbling and wanted to know if they are valid needs or is there a better model I could be using.</p>
<p>1. Ability to pass along some params with the bubbling event.</p>
<p>For example this would be useful for a tooltip class that lives in your document class. Dispatch a signal from anywhere in your app and send along the tooltip string for display.</p>
<p>2. Would be nice to listen for a specific bubbling event as opposed to listening for all bubbling events and then checking to see if it&#8217;s the event you wanted.</p>
<p>For example a single onEventBubbled handler may find one event to show a tooltip and another to tell when an animation is finished.</p>
<p>Using a single handler for all bubbling events would require me identify every event bubbling through the chain &#8211; then either kill it and handle it or let it move on by. Would we need to re-dispatch unwanted bubbling events? Would this slow things down if there was an onEventBubbled handler on every level up the chain?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dehash</title>
		<link>http://www.dehash.com/?p=241&#038;cpage=1#comment-28135</link>
		<dc:creator>dehash</dc:creator>
		<pubDate>Thu, 03 Jun 2010 20:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.dehash.com/?p=241#comment-28135</guid>
		<description>@Robert

Cool. I updated the simple example above to use 0.7 and it worked. Added a download for the updated code above at the foot of the original blog post.</description>
		<content:encoded><![CDATA[<p>@Robert</p>
<p>Cool. I updated the simple example above to use 0.7 and it worked. Added a download for the updated code above at the foot of the original blog post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Penner</title>
		<link>http://www.dehash.com/?p=241&#038;cpage=1#comment-28134</link>
		<dc:creator>Robert Penner</dc:creator>
		<pubDate>Fri, 28 May 2010 05:26:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.dehash.com/?p=241#comment-28134</guid>
		<description>Thanks dehash, I integrated this into the v0.7 release. Changelog here: 

http://github.com/robertpenner/as3-signals/blob/master/CHANGELOG.textile</description>
		<content:encoded><![CDATA[<p>Thanks dehash, I integrated this into the v0.7 release. Changelog here: </p>
<p><a href="http://github.com/robertpenner/as3-signals/blob/master/CHANGELOG.textile" rel="nofollow">http://github.com/robertpenner/as3-signals/blob/master/CHANGELOG.textile</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dehash</title>
		<link>http://www.dehash.com/?p=241&#038;cpage=1#comment-28131</link>
		<dc:creator>dehash</dc:creator>
		<pubDate>Tue, 27 Apr 2010 23:26:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.dehash.com/?p=241#comment-28131</guid>
		<description>@Robert
Had a go at integrating the secoif changes with the current signals src and initial test works with a simple example. For now I zipped up signalssecoif.zip &lt;a href=&quot;http://www.dehash.com/wp-content/uploads/2010/04/signalssecoif.zip&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; in case anyone wants to see it.</description>
		<content:encoded><![CDATA[<p>@Robert<br />
Had a go at integrating the secoif changes with the current signals src and initial test works with a simple example. For now I zipped up signalssecoif.zip <a href="http://www.dehash.com/wp-content/uploads/2010/04/signalssecoif.zip" rel="nofollow">here</a> in case anyone wants to see it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Penner</title>
		<link>http://www.dehash.com/?p=241&#038;cpage=1#comment-28124</link>
		<dc:creator>Robert Penner</dc:creator>
		<pubDate>Tue, 27 Apr 2010 04:59:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.dehash.com/?p=241#comment-28124</guid>
		<description>Check out secoif&#039;s approach where he adds a Boolean return value from
onEventBubbled():

http://github.com/secoif/as3-signals/commit/770f6c8c0a36025355c00109d9e1793e186a22eb

I have a TODO comment in my DeluxeSignal code that refers to this (line 161).

Robert</description>
		<content:encoded><![CDATA[<p>Check out secoif&#8217;s approach where he adds a Boolean return value from<br />
onEventBubbled():</p>
<p><a href="http://github.com/secoif/as3-signals/commit/770f6c8c0a36025355c00109d9e1793e186a22eb" rel="nofollow">http://github.com/secoif/as3-signals/commit/770f6c8c0a36025355c00109d9e1793e186a22eb</a></p>
<p>I have a TODO comment in my DeluxeSignal code that refers to this (line 161).</p>
<p>Robert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dehash</title>
		<link>http://www.dehash.com/?p=241&#038;cpage=1#comment-28123</link>
		<dc:creator>dehash</dc:creator>
		<pubDate>Tue, 20 Apr 2010 19:13:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.dehash.com/?p=241#comment-28123</guid>
		<description>@eco_bach
I think you have it wrong - you can bubble a signal beyond its immediate parent and all the way up the display list using the approach described above. If you try it out for yourself you can see it working and whether it ticks all the boxes you need.
</description>
		<content:encoded><![CDATA[<p>@eco_bach<br />
I think you have it wrong &#8211; you can bubble a signal beyond its immediate parent and all the way up the display list using the approach described above. If you try it out for yourself you can see it working and whether it ticks all the boxes you need.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
