<?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: Open Source Flex Project: flexwires</title>
	<atom:link href="http://joshblog.net/2008/11/10/open-source-flex-project-wires-ui-library/feed/" rel="self" type="application/rss+xml" />
	<link>http://joshblog.net/2008/11/10/open-source-flex-project-wires-ui-library/</link>
	<description>Josh Tynjala explores Flash, Flex, and ActionScript.</description>
	<lastBuildDate>Sat, 31 Jul 2010 02:55:11 -0400</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Josh Tynjala</title>
		<link>http://joshblog.net/2008/11/10/open-source-flex-project-wires-ui-library/comment-page-1/#comment-74390</link>
		<dc:creator>Josh Tynjala</dc:creator>
		<pubDate>Tue, 06 Jul 2010 01:30:44 +0000</pubDate>
		<guid isPermaLink="false">http://joshblog.net/?p=427#comment-74390</guid>
		<description>As an FYI for anyone reading the comments, the issues described above, regarding Adobe AIR, are now fixed. You can &lt;a href=&quot;http://github.com/joshtynjala/flexwires/downloads&quot; rel=&quot;nofollow&quot;&gt;download version 1.1.0 or newer&lt;/a&gt; over at GitHub.</description>
		<content:encoded><![CDATA[<p>As an FYI for anyone reading the comments, the issues described above, regarding Adobe AIR, are now fixed. You can <a href="http://github.com/joshtynjala/flexwires/downloads" rel="nofollow">download version 1.1.0 or newer</a> over at GitHub.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Tynjala</title>
		<link>http://joshblog.net/2008/11/10/open-source-flex-project-wires-ui-library/comment-page-1/#comment-61841</link>
		<dc:creator>Josh Tynjala</dc:creator>
		<pubDate>Wed, 11 Nov 2009 21:35:07 +0000</pubDate>
		<guid isPermaLink="false">http://joshblog.net/?p=427#comment-61841</guid>
		<description>JB, an output should be able to connect to several different inputs by default. However, you should ensure that the wires are placed on a WireSurface under the jacks (instead of the default surface that gets placed on the PopUpManager) so that wires appear below the jacks and don&#039;t block additional connections.

A chain should be possible too. However, you probably don&#039;t want to use InputWireJack and OutputWireJack. I wouldn&#039;t know for sure without testing, but you might be able to use their base class, WireJack, without any modifications. It doesn&#039;t have default restrictions on how it can be connected to specific types of jacks.

There is no forum or mailing list set up for flexwires. You can post a comment here, or use my &lt;a href=&quot;http://joshblog.net/contact/&quot; rel=&quot;nofollow&quot;&gt;contact form&lt;/a&gt;, if you prefer. Either way, I&#039;ll be notified by email.</description>
		<content:encoded><![CDATA[<p>JB, an output should be able to connect to several different inputs by default. However, you should ensure that the wires are placed on a WireSurface under the jacks (instead of the default surface that gets placed on the PopUpManager) so that wires appear below the jacks and don&#8217;t block additional connections.</p>
<p>A chain should be possible too. However, you probably don&#8217;t want to use InputWireJack and OutputWireJack. I wouldn&#8217;t know for sure without testing, but you might be able to use their base class, WireJack, without any modifications. It doesn&#8217;t have default restrictions on how it can be connected to specific types of jacks.</p>
<p>There is no forum or mailing list set up for flexwires. You can post a comment here, or use my <a href="http://joshblog.net/contact/" rel="nofollow">contact form</a>, if you prefer. Either way, I&#8217;ll be notified by email.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JB</title>
		<link>http://joshblog.net/2008/11/10/open-source-flex-project-wires-ui-library/comment-page-1/#comment-61840</link>
		<dc:creator>JB</dc:creator>
		<pubDate>Wed, 11 Nov 2009 21:22:27 +0000</pubDate>
		<guid isPermaLink="false">http://joshblog.net/?p=427#comment-61840</guid>
		<description>First and foremost, great work and thanks for the generosity to release this code open source. We are planning to use it as a base for a node-link chaining to create data-based 3d visualization scenes. We have a few questions...for example, most of the demos show an InputJack or an Output Jack. Wondering what the best approach is for a situation where a node is to serve as both (e.g. a logic chain) and in cases where an output may go to several nodes. Is there a forum to pose such questions?

Thanks</description>
		<content:encoded><![CDATA[<p>First and foremost, great work and thanks for the generosity to release this code open source. We are planning to use it as a base for a node-link chaining to create data-based 3d visualization scenes. We have a few questions&#8230;for example, most of the demos show an InputJack or an Output Jack. Wondering what the best approach is for a situation where a node is to serve as both (e.g. a logic chain) and in cases where an output may go to several nodes. Is there a forum to pose such questions?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Tynjala</title>
		<link>http://joshblog.net/2008/11/10/open-source-flex-project-wires-ui-library/comment-page-1/#comment-60821</link>
		<dc:creator>Josh Tynjala</dc:creator>
		<pubDate>Mon, 16 Mar 2009 00:14:02 +0000</pubDate>
		<guid isPermaLink="false">http://joshblog.net/?p=427#comment-60821</guid>
		<description>I&#039;ve also added a new &lt;code&gt;clickToDrag&lt;/code&gt; static property to the &lt;code&gt;WireJack&lt;/code&gt; class. This allows an alternate drag interaction where you click on one jack (including releasing the mouse button), and then the wire will follow the mouse until you click again. If the target of the second click is another jack, then the connection is made. Otherwise, the wire disappears when you click anywhere just as if you released the mouse button during a normal drag.

Personally, I found that it felt a little more natural for my finger to do two simple clicks to connect a pair of jacks rather than mouseDown-&gt;drag-&gt;mouseUp. That said, not everyone may agree, so the standard drag behavior is still the default.

&lt;pre&gt;WireJack.clickToDrag = true;&lt;/pre&gt;

As you can see above, it&#039;s easy to setup. Since it is a static property, you can just drop that directly in an MXML &lt;code&gt;Script&lt;/code&gt; block (no function needed).</description>
		<content:encoded><![CDATA[<p>I&#8217;ve also added a new <code>clickToDrag</code> static property to the <code>WireJack</code> class. This allows an alternate drag interaction where you click on one jack (including releasing the mouse button), and then the wire will follow the mouse until you click again. If the target of the second click is another jack, then the connection is made. Otherwise, the wire disappears when you click anywhere just as if you released the mouse button during a normal drag.</p>
<p>Personally, I found that it felt a little more natural for my finger to do two simple clicks to connect a pair of jacks rather than mouseDown-&gt;drag-&gt;mouseUp. That said, not everyone may agree, so the standard drag behavior is still the default.</p>
<pre>WireJack.clickToDrag = true;</pre>
<p>As you can see above, it&#8217;s easy to setup. Since it is a static property, you can just drop that directly in an MXML <code>Script</code> block (no function needed).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Tynjala</title>
		<link>http://joshblog.net/2008/11/10/open-source-flex-project-wires-ui-library/comment-page-1/#comment-60820</link>
		<dc:creator>Josh Tynjala</dc:creator>
		<pubDate>Sun, 15 Mar 2009 22:34:42 +0000</pubDate>
		<guid isPermaLink="false">http://joshblog.net/?p=427#comment-60820</guid>
		<description>I&#039;ve committed some changes to the repository on Google Code that fix the runtime error when trying to use flexwires in AIR. However, it appears that the AIR version of the framework has an IDragManager implementation that behaves very, very differently in several ways than the default implementation. While the error no longer happens, the drag image appears to be removed from the display list almost immediately after being created. Not sure why.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve committed some changes to the repository on Google Code that fix the runtime error when trying to use flexwires in AIR. However, it appears that the AIR version of the framework has an IDragManager implementation that behaves very, very differently in several ways than the default implementation. While the error no longer happens, the drag image appears to be removed from the display list almost immediately after being created. Not sure why.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oak</title>
		<link>http://joshblog.net/2008/11/10/open-source-flex-project-wires-ui-library/comment-page-1/#comment-60514</link>
		<dc:creator>oak</dc:creator>
		<pubDate>Sun, 28 Dec 2008 02:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://joshblog.net/?p=427#comment-60514</guid>
		<description>I tried Nick&#039;s AIR hack but with no luck. Has any progress been made on an AIR patch?</description>
		<content:encoded><![CDATA[<p>I tried Nick&#8217;s AIR hack but with no luck. Has any progress been made on an AIR patch?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Tynjala</title>
		<link>http://joshblog.net/2008/11/10/open-source-flex-project-wires-ui-library/comment-page-1/#comment-60357</link>
		<dc:creator>Josh Tynjala</dc:creator>
		<pubDate>Sat, 06 Dec 2008 02:48:54 +0000</pubDate>
		<guid isPermaLink="false">http://joshblog.net/?p=427#comment-60357</guid>
		<description>Thanks, Nick. That&#039;s a great start for me to start debugging the problem in AIR.</description>
		<content:encoded><![CDATA[<p>Thanks, Nick. That&#8217;s a great start for me to start debugging the problem in AIR.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Collins</title>
		<link>http://joshblog.net/2008/11/10/open-source-flex-project-wires-ui-library/comment-page-1/#comment-60356</link>
		<dc:creator>Nick Collins</dc:creator>
		<pubDate>Fri, 05 Dec 2008 18:07:56 +0000</pubDate>
		<guid isPermaLink="false">http://joshblog.net/?p=427#comment-60356</guid>
		<description>I&#039;ve found a workaround to get it running in AIR. 

First you need to download the source from SVN. Create a Flex Library project and make sure to include the AIR libraries.

Next open up WireJackArrowDragImage.as

Line 164 - updateDisplayList method

replace this:
&lt;pre&gt;var proxy:DragProxy = DragProxy(this.parent);&lt;/pre&gt;

with this:

&lt;pre&gt;var proxy:DragProxy;
if ( Capabilities.playerType == &#039;Desktop&#039; )
{
   proxy = DragProxy(this.parent as NativeDragManager);
} else {
   proxy = DragProxy(this.parent);
}&lt;/pre&gt;

add a private var tempStage:Stage to the class, and within the addedStageHandler set tempStage = this.stage

finally, within addedToStageHandler and stageMouseUpHandler change the reference this.stage to tempStage

compile and use the resulting SWC within your AIR app. It should work without any errors. I realize it&#039;s kind of a hack, but it gets the job done relatively simply.

The problem has to do with the fact that if you are using WindowedApplication as your application root tag, the application by default will only use the NativeDragManager. Your two options for getting flexwires to work in an AIR application are 1) build your AIR app with Application as the application root tag, or 2) use something like my little hack.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve found a workaround to get it running in AIR. </p>
<p>First you need to download the source from SVN. Create a Flex Library project and make sure to include the AIR libraries.</p>
<p>Next open up WireJackArrowDragImage.as</p>
<p>Line 164 &#8211; updateDisplayList method</p>
<p>replace this:</p>
<pre>var proxy:DragProxy = DragProxy(this.parent);</pre>
<p>with this:</p>
<pre>var proxy:DragProxy;
if ( Capabilities.playerType == 'Desktop' )
{
   proxy = DragProxy(this.parent as NativeDragManager);
} else {
   proxy = DragProxy(this.parent);
}</pre>
<p>add a private var tempStage:Stage to the class, and within the addedStageHandler set tempStage = this.stage</p>
<p>finally, within addedToStageHandler and stageMouseUpHandler change the reference this.stage to tempStage</p>
<p>compile and use the resulting SWC within your AIR app. It should work without any errors. I realize it&#8217;s kind of a hack, but it gets the job done relatively simply.</p>
<p>The problem has to do with the fact that if you are using WindowedApplication as your application root tag, the application by default will only use the NativeDragManager. Your two options for getting flexwires to work in an AIR application are 1) build your AIR app with Application as the application root tag, or 2) use something like my little hack.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Tynjala</title>
		<link>http://joshblog.net/2008/11/10/open-source-flex-project-wires-ui-library/comment-page-1/#comment-60349</link>
		<dc:creator>Josh Tynjala</dc:creator>
		<pubDate>Thu, 04 Dec 2008 19:13:58 +0000</pubDate>
		<guid isPermaLink="false">http://joshblog.net/?p=427#comment-60349</guid>
		<description>nuiman, flexwires requires the Flex framework. The components are certainly available in ActionScript (in addition to MXML, of course), but it has to be a Flex app.</description>
		<content:encoded><![CDATA[<p>nuiman, flexwires requires the Flex framework. The components are certainly available in ActionScript (in addition to MXML, of course), but it has to be a Flex app.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nuiman</title>
		<link>http://joshblog.net/2008/11/10/open-source-flex-project-wires-ui-library/comment-page-1/#comment-60348</link>
		<dc:creator>nuiman</dc:creator>
		<pubDate>Thu, 04 Dec 2008 18:11:38 +0000</pubDate>
		<guid isPermaLink="false">http://joshblog.net/?p=427#comment-60348</guid>
		<description>This is really amazing stuff thanks 10x.

However does it work with just Raw AS3? Also I&#039;m going to make this work with multi-touch :)</description>
		<content:encoded><![CDATA[<p>This is really amazing stuff thanks 10x.</p>
<p>However does it work with just Raw AS3? Also I&#8217;m going to make this work with multi-touch <img src='http://joshblog.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
