<?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: Creating custom Gestures</title>
	<atom:link href="http://bubblebird.at/tuioflash/guides/creating-custom-gestures/feed/" rel="self" type="application/rss+xml" />
	<link>http://bubblebird.at/tuioflash</link>
	<description>Teaching Flash some new tricks</description>
	<lastBuildDate>Wed, 16 May 2012 15:05:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ashish</title>
		<link>http://bubblebird.at/tuioflash/guides/creating-custom-gestures/comment-page-1/#comment-16902</link>
		<dc:creator>Ashish</dc:creator>
		<pubDate>Tue, 31 Jan 2012 07:42:51 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-16902</guid>
		<description>How will it recognize &quot;M&quot; or &quot;P&quot; or &quot;Z&quot; as in all we are doing OneFingerMoveGesture so how we will distinguish whether we made M , P , Z ... etc .

Kindly guide me . Found no solution anywhere .</description>
		<content:encoded><![CDATA[<p>How will it recognize &#8220;M&#8221; or &#8220;P&#8221; or &#8220;Z&#8221; as in all we are doing OneFingerMoveGesture so how we will distinguish whether we made M , P , Z &#8230; etc .</p>
<p>Kindly guide me . Found no solution anywhere .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://bubblebird.at/tuioflash/guides/creating-custom-gestures/comment-page-1/#comment-16805</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 29 Jan 2012 14:12:54 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-16805</guid>
		<description>Thx Gimmix - works just as needed :)
If someone ever needed this, here is the function:

private function handleSaturated(e:GestureStepEvent):void {
	if (e.step == 1) {
		var gsg:GestureStepSequence = e.group; 
		var container:TuioContainer = gsg.getTuioContainer(&quot;C&quot;);		 
			 
		gsg.storeValue(&quot;touch_down_x&quot;, container.x);
		gsg.storeValue(&quot;touch_down_y&quot;, container.y);				
	}		 
} 

and in dispatchGestureEvent function you call:

var container:TuioContainer = gsg.getTuioContainer(&quot;C&quot;);
trace(&quot;total move in x axis: &quot; + (container.x - Number(gsg.getValue(&quot;touch_down_x&quot;))));</description>
		<content:encoded><![CDATA[<p>Thx Gimmix &#8211; works just as needed <img src='http://bubblebird.at/tuioflash/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
If someone ever needed this, here is the function:</p>
<p>private function handleSaturated(e:GestureStepEvent):void {<br />
	if (e.step == 1) {<br />
		var gsg:GestureStepSequence = e.group;<br />
		var container:TuioContainer = gsg.getTuioContainer(&#8220;C&#8221;);		 </p>
<p>		gsg.storeValue(&#8220;touch_down_x&#8221;, container.x);<br />
		gsg.storeValue(&#8220;touch_down_y&#8221;, container.y);<br />
	}<br />
} </p>
<p>and in dispatchGestureEvent function you call:</p>
<p>var container:TuioContainer = gsg.getTuioContainer(&#8220;C&#8221;);<br />
trace(&#8220;total move in x axis: &#8221; + (container.x &#8211; Number(gsg.getValue(&#8220;touch_down_x&#8221;))));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gimmix</title>
		<link>http://bubblebird.at/tuioflash/guides/creating-custom-gestures/comment-page-1/#comment-16585</link>
		<dc:creator>gimmix</dc:creator>
		<pubDate>Mon, 23 Jan 2012 10:22:28 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-16585</guid>
		<description>I&#039;d suggest to listen for GestureStepEvents like explained above and use GestureStepSequence.storeValue() to store the position of the touch. When the Gesture is fully saturated you can retrieve those values with GestureStepSequence.getValue()
container.X btw. is the velocity of the touch on the x-axis.</description>
		<content:encoded><![CDATA[<p>I&#8217;d suggest to listen for GestureStepEvents like explained above and use GestureStepSequence.storeValue() to store the position of the touch. When the Gesture is fully saturated you can retrieve those values with GestureStepSequence.getValue()<br />
container.X btw. is the velocity of the touch on the x-axis.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://bubblebird.at/tuioflash/guides/creating-custom-gestures/comment-page-1/#comment-16552</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 22 Jan 2012 16:51:03 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-16552</guid>
		<description>Hi guys, i&#039;d have question... I&#039;ve created my own gestures to recognize 1 to 4 fingers move, they work fine, but i ran into a problem when I tried to find which direction they have moved.
I have no loop in my gesture - i simply check if needed count of fingers touched down and if they all moved. Once the all get up, the gesture is complete. So im not tracking the move all the time the fingers are moving.
So what would be the way to get the starting and ending coodrinates of the move to calculate the direction ?
I tried to get the container i&#039;ve been tracking gsg.getTuioContainer(&quot;C&quot;) and get the coordinates from there (container.x or container.X), but i guess the X is not total start of the move - its just last remembered point, and from the start there can be many of them.</description>
		<content:encoded><![CDATA[<p>Hi guys, i&#8217;d have question&#8230; I&#8217;ve created my own gestures to recognize 1 to 4 fingers move, they work fine, but i ran into a problem when I tried to find which direction they have moved.<br />
I have no loop in my gesture &#8211; i simply check if needed count of fingers touched down and if they all moved. Once the all get up, the gesture is complete. So im not tracking the move all the time the fingers are moving.<br />
So what would be the way to get the starting and ending coodrinates of the move to calculate the direction ?<br />
I tried to get the container i&#8217;ve been tracking gsg.getTuioContainer(&#8220;C&#8221;) and get the coordinates from there (container.x or container.X), but i guess the X is not total start of the move &#8211; its just last remembered point, and from the start there can be many of them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gimmix</title>
		<link>http://bubblebird.at/tuioflash/guides/creating-custom-gestures/comment-page-1/#comment-8471</link>
		<dc:creator>gimmix</dc:creator>
		<pubDate>Sat, 16 Jul 2011 15:33:29 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-8471</guid>
		<description>Hi thanks for the positive feedback. You are right, writing custom Gestures in another package would be usefull and a lot more intuitive I guess x) I&#039;ll keep that in mind for the next release.</description>
		<content:encoded><![CDATA[<p>Hi thanks for the positive feedback. You are right, writing custom Gestures in another package would be usefull and a lot more intuitive I guess x) I&#8217;ll keep that in mind for the next release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Peiniau</title>
		<link>http://bubblebird.at/tuioflash/guides/creating-custom-gestures/comment-page-1/#comment-8467</link>
		<dc:creator>Thomas Peiniau</dc:creator>
		<pubDate>Sat, 16 Jul 2011 14:00:24 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-8467</guid>
		<description>Hi guys.

Super good job on the library. It really helped in a latest project.

TUIOClient is easy to configure and GestureManager is a must, albeit its documentation lays behind the latest releases.

As for the gestures themselves, I wonder if it would be possible to unprotect the function addStep(s:GestureStep):void, making possible to extend the Gestures in a different package.

Best,

Thomas</description>
		<content:encoded><![CDATA[<p>Hi guys.</p>
<p>Super good job on the library. It really helped in a latest project.</p>
<p>TUIOClient is easy to configure and GestureManager is a must, albeit its documentation lays behind the latest releases.</p>
<p>As for the gestures themselves, I wonder if it would be possible to unprotect the function addStep(s:GestureStep):void, making possible to extend the Gestures in a different package.</p>
<p>Best,</p>
<p>Thomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://bubblebird.at/tuioflash/guides/creating-custom-gestures/comment-page-1/#comment-4856</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Tue, 22 Mar 2011 10:23:40 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-4856</guid>
		<description>Thanks a lot!
That worked for me!

Greets.
Patrick.</description>
		<content:encoded><![CDATA[<p>Thanks a lot!<br />
That worked for me!</p>
<p>Greets.<br />
Patrick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gimmix</title>
		<link>http://bubblebird.at/tuioflash/guides/creating-custom-gestures/comment-page-1/#comment-4831</link>
		<dc:creator>gimmix</dc:creator>
		<pubDate>Mon, 21 Mar 2011 15:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-4831</guid>
		<description>Glad you like the library!
I think your question has mostly been answered in this post: http://bubblebird.at/tuioflash/guides/using-the-gesturemanager/#comment-4132

greets</description>
		<content:encoded><![CDATA[<p>Glad you like the library!<br />
I think your question has mostly been answered in this post: <a href="http://bubblebird.at/tuioflash/guides/using-the-gesturemanager/#comment-4132" rel="nofollow">http://bubblebird.at/tuioflash/guides/using-the-gesturemanager/#comment-4132</a></p>
<p>greets</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://bubblebird.at/tuioflash/guides/creating-custom-gestures/comment-page-1/#comment-4822</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Mon, 21 Mar 2011 09:47:54 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-4822</guid>
		<description>Hi,

at first I want to say, that this is a really great project!
And now to my problem. I could not find a forum or something like that to post my question, so I will post it here.

In my application I use the &quot;DragGesture&quot; to move Objects. This works perfectly for slow moves. But if I move my draggable objects fast they will lose focus.
I think the reason is, that the first DragGesture Event ist dispatched when the finger is on the draggable object and with the next Event the finger is outside the draggable object.

I think I have to make little changes in the OneFingerMoveGesture, but I did not know how/what to change.

It would be great to get some help!
Thank you!

Patrick.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>at first I want to say, that this is a really great project!<br />
And now to my problem. I could not find a forum or something like that to post my question, so I will post it here.</p>
<p>In my application I use the &#8220;DragGesture&#8221; to move Objects. This works perfectly for slow moves. But if I move my draggable objects fast they will lose focus.<br />
I think the reason is, that the first DragGesture Event ist dispatched when the finger is on the draggable object and with the next Event the finger is outside the draggable object.</p>
<p>I think I have to make little changes in the OneFingerMoveGesture, but I did not know how/what to change.</p>
<p>It would be great to get some help!<br />
Thank you!</p>
<p>Patrick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eigene Gesten &#8211; touchcoder</title>
		<link>http://bubblebird.at/tuioflash/guides/creating-custom-gestures/comment-page-1/#comment-1451</link>
		<dc:creator>Eigene Gesten &#8211; touchcoder</dc:creator>
		<pubDate>Sun, 03 Oct 2010 21:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-1451</guid>
		<description>[...] Die Gesten in TuioAS3 sind ziemlich gut gemacht und leicht erweiterbar. Man gibt einfach nur die einzelnen Schritte an, die für eine vollständige Geste nötig sind. Wenn alle Bedingungen erfüllt sind (saturated) dann wird ein Event gefeuert. Hier wird das alles genau erklärt: http://bubblebird.at/tuioflash/guides/creating-custom-gestures/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Die Gesten in TuioAS3 sind ziemlich gut gemacht und leicht erweiterbar. Man gibt einfach nur die einzelnen Schritte an, die für eine vollständige Geste nötig sind. Wenn alle Bedingungen erfüllt sind (saturated) dann wird ein Event gefeuert. Hier wird das alles genau erklärt: <a href="http://bubblebird.at/tuioflash/guides/creating-custom-gestures/" rel="nofollow">http://bubblebird.at/tuioflash/guides/creating-custom-gestures/</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

