<?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: Getting started</title>
	<atom:link href="http://bubblebird.at/tuioflash/guides/getting-started/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: gimmix</title>
		<link>http://bubblebird.at/tuioflash/guides/getting-started/comment-page-1/#comment-22778</link>
		<dc:creator>gimmix</dc:creator>
		<pubDate>Thu, 10 May 2012 11:36:46 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-22778</guid>
		<description>There was a little error in this tutorial due to a refactoring in the last release:
TouchEvent should be TuioTouchEvent.

To use UDP you have to export your project as at least Air 2.0</description>
		<content:encoded><![CDATA[<p>There was a little error in this tutorial due to a refactoring in the last release:<br />
TouchEvent should be TuioTouchEvent.</p>
<p>To use UDP you have to export your project as at least Air 2.0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://bubblebird.at/tuioflash/guides/getting-started/comment-page-1/#comment-22533</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Mon, 07 May 2012 16:42:36 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-22533</guid>
		<description>I actually got the flex thing working apparently by linking to frameworks.swc, so atleast that works, but I get another error after that:

\org\tuio\connectors\udp\OSCDatagramSocket.as, Line 15	1017: The definition of base class DatagramSocket was not found.

I feel like I am constantly missing pieces to this thing. As soon as I fix on issue, another one happens.</description>
		<content:encoded><![CDATA[<p>I actually got the flex thing working apparently by linking to frameworks.swc, so atleast that works, but I get another error after that:</p>
<p>\org\tuio\connectors\udp\OSCDatagramSocket.as, Line 15	1017: The definition of base class DatagramSocket was not found.</p>
<p>I feel like I am constantly missing pieces to this thing. As soon as I fix on issue, another one happens.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://bubblebird.at/tuioflash/guides/getting-started/comment-page-1/#comment-22508</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Mon, 07 May 2012 06:54:51 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-22508</guid>
		<description>I am on Flash CS5 and I&#039;m attempting to do this very first tutorial. For those of use who don&#039;t know every package that needs importing, it would be helpful if the imports were included in the sample code. I found them by looking through comments. I also read in the comments to take out the mx.controls, which I did. My real problem is that when I go to publish, I&#039;m prompted for the Flex library path, so I downloaded flex sdk and directed it to the file direction of the sdk, and I get this error:

org\tuio\debug\TuioDebug_Arial.as, Line 10	1017: The definition of base class FontAsset was not found.

I really don&#039;t know what I&#039;m supposed to do with this error. Lil&#039; help?  My code looks like this: 

import org.tuio.*;
import org.tuio.*;
import org.tuio.connectors.*;
import org.tuio.debug.*;
import org.tuio.TouchEvent ;

var tc:TuioClient = new TuioClient(new UDPConnector(&quot;127.0.0.1&quot;,3333));

var tm:TuioManager = TuioManager.init(stage);
tc.addListener(tm);

tc.addListener(TuioDebug.init(stage));//a little help to display touches

//draw a simple rectangle to the stage
var myRectangle:MovieClip = new MovieClip();
myRectangle.graphics.beginFill(0x6633cc);
myRectangle.graphics.drawRect(0, 0, 200, 200);

//add the event listener to the rectangle;
myRectangle.addEventListener(TouchEvent.TOUCH_DOWN, function(e:TouchEvent):void {
       trace(&quot;touchdown! &quot; + e.tuioContainer.sessionID);
    });

//add the rectangle to the stage
stage.addChild(myRectangle);</description>
		<content:encoded><![CDATA[<p>I am on Flash CS5 and I&#8217;m attempting to do this very first tutorial. For those of use who don&#8217;t know every package that needs importing, it would be helpful if the imports were included in the sample code. I found them by looking through comments. I also read in the comments to take out the mx.controls, which I did. My real problem is that when I go to publish, I&#8217;m prompted for the Flex library path, so I downloaded flex sdk and directed it to the file direction of the sdk, and I get this error:</p>
<p>org\tuio\debug\TuioDebug_Arial.as, Line 10	1017: The definition of base class FontAsset was not found.</p>
<p>I really don&#8217;t know what I&#8217;m supposed to do with this error. Lil&#8217; help?  My code looks like this: </p>
<p>import org.tuio.*;<br />
import org.tuio.*;<br />
import org.tuio.connectors.*;<br />
import org.tuio.debug.*;<br />
import org.tuio.TouchEvent ;</p>
<p>var tc:TuioClient = new TuioClient(new UDPConnector(&#8220;127.0.0.1&#8243;,3333));</p>
<p>var tm:TuioManager = TuioManager.init(stage);<br />
tc.addListener(tm);</p>
<p>tc.addListener(TuioDebug.init(stage));//a little help to display touches</p>
<p>//draw a simple rectangle to the stage<br />
var myRectangle:MovieClip = new MovieClip();<br />
myRectangle.graphics.beginFill(0x6633cc);<br />
myRectangle.graphics.drawRect(0, 0, 200, 200);</p>
<p>//add the event listener to the rectangle;<br />
myRectangle.addEventListener(TouchEvent.TOUCH_DOWN, function(e:TouchEvent):void {<br />
       trace(&#8220;touchdown! &#8221; + e.tuioContainer.sessionID);<br />
    });</p>
<p>//add the rectangle to the stage<br />
stage.addChild(myRectangle);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gimmix</title>
		<link>http://bubblebird.at/tuioflash/guides/getting-started/comment-page-1/#comment-22261</link>
		<dc:creator>gimmix</dc:creator>
		<pubDate>Thu, 03 May 2012 17:00:43 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-22261</guid>
		<description>yup just debugged it, the problem was that the stage was null ;)</description>
		<content:encoded><![CDATA[<p>yup just debugged it, the problem was that the stage was null <img src='http://bubblebird.at/tuioflash/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://bubblebird.at/tuioflash/guides/getting-started/comment-page-1/#comment-22237</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Thu, 03 May 2012 15:47:31 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-22237</guid>
		<description>oh dear god.   hands up, i&#039;m an idiot.

sorry guys and thanks for all your help, I had my creationComplete target set as init() rather than onCreationComplete. 

my onCreationComplete puts an extra Event.ADDED_TO_STAGE handler if stage not yet initialised.

lesson learned and it&#039;s always the small things!!</description>
		<content:encoded><![CDATA[<p>oh dear god.   hands up, i&#8217;m an idiot.</p>
<p>sorry guys and thanks for all your help, I had my creationComplete target set as init() rather than onCreationComplete. </p>
<p>my onCreationComplete puts an extra Event.ADDED_TO_STAGE handler if stage not yet initialised.</p>
<p>lesson learned and it&#8217;s always the small things!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://bubblebird.at/tuioflash/guides/getting-started/comment-page-1/#comment-22236</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Thu, 03 May 2012 15:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-22236</guid>
		<description>update:
the code seems to bail on the line stagePos =
(see below)

TuioManager.as

public function handleAdd(tuioContainer:TuioContainer):void {
 			var stagePos:Point = new Point(stage.stageWidth * tuioContainer.x, stage.stageHeight * tuioContainer.y);</description>
		<content:encoded><![CDATA[<p>update:<br />
the code seems to bail on the line stagePos =<br />
(see below)</p>
<p>TuioManager.as</p>
<p>public function handleAdd(tuioContainer:TuioContainer):void {<br />
 			var stagePos:Point = new Point(stage.stageWidth * tuioContainer.x, stage.stageHeight * tuioContainer.y);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://bubblebird.at/tuioflash/guides/getting-started/comment-page-1/#comment-22235</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Thu, 03 May 2012 15:20:51 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-22235</guid>
		<description>hi Gimmix,
in case it help shed any light:

It seems ok if just declaring TuioManager &amp; TuioDebug

but if I use &#039;.addListener&#039; to add either to the TuioClient then the exception occurs.</description>
		<content:encoded><![CDATA[<p>hi Gimmix,<br />
in case it help shed any light:</p>
<p>It seems ok if just declaring TuioManager &amp; TuioDebug</p>
<p>but if I use &#8216;.addListener&#8217; to add either to the TuioClient then the exception occurs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://bubblebird.at/tuioflash/guides/getting-started/comment-page-1/#comment-22234</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Thu, 03 May 2012 15:08:56 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-22234</guid>
		<description>and no, disabling debug has no affect I&#039;m afraid

regards, Rich</description>
		<content:encoded><![CDATA[<p>and no, disabling debug has no affect I&#8217;m afraid</p>
<p>regards, Rich</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://bubblebird.at/tuioflash/guides/getting-started/comment-page-1/#comment-22233</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Thu, 03 May 2012 15:06:15 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-22233</guid>
		<description>cheers, i&#039;ve uploaded the source here:
http://dl.dropbox.com/u/8304842/Native/v0.1.zip

the text warnings are to do with the spark components:

warning: incompatible embedded font &#039;Arial&#039; specified for spark.components::RichEditableText (RichEditableText16) . This component requires that the embedded font be declared with embedAsCFF=true</description>
		<content:encoded><![CDATA[<p>cheers, i&#8217;ve uploaded the source here:<br />
<a href="http://dl.dropbox.com/u/8304842/Native/v0.1.zip" rel="nofollow">http://dl.dropbox.com/u/8304842/Native/v0.1.zip</a></p>
<p>the text warnings are to do with the spark components:</p>
<p>warning: incompatible embedded font &#8216;Arial&#8217; specified for spark.components::RichEditableText (RichEditableText16) . This component requires that the embedded font be declared with embedAsCFF=true</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gimmix</title>
		<link>http://bubblebird.at/tuioflash/guides/getting-started/comment-page-1/#comment-22232</link>
		<dc:creator>gimmix</dc:creator>
		<pubDate>Thu, 03 May 2012 14:54:27 +0000</pubDate>
		<guid isPermaLink="false">http://bubblebird.at/tuioflash/#comment-22232</guid>
		<description>Could you maybe post how you set up your event listeners? What kind of font embedding warning do you get? Does it help to remove the TuioDebug part?</description>
		<content:encoded><![CDATA[<p>Could you maybe post how you set up your event listeners? What kind of font embedding warning do you get? Does it help to remove the TuioDebug part?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

