<?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 Flash and Twitter to play nice.</title>
	<atom:link href="http://ctrloptcmd.com/archives/37/getting-flash-and-twitter-to-play-nice/feed/" rel="self" type="application/rss+xml" />
	<link>http://ctrloptcmd.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fctrloptcmd.com%2Farchives%2F37%2Fgetting-flash-and-twitter-to-play-nice%2F%23comment-&amp;seed_title=Getting+Flash+and+Twitter+to+play+nice.</link>
	<description></description>
	<lastBuildDate>Thu, 26 Aug 2010 20:19:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Steven H</title>
		<link>http://ctrloptcmd.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fctrloptcmd.com%2Farchives%2F37%2Fgetting-flash-and-twitter-to-play-nice%2F%23comment-285&amp;seed_title=Getting+Flash+and+Twitter+to+play+nice./comment-page-1/#comment-285</link>
		<dc:creator>Steven H</dc:creator>
		<pubDate>Tue, 07 Jul 2009 23:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://ctrloptcmd.com/?p=37#comment-285</guid>
		<description>btw, if you&#039;re having regexp problems just remove until you have time to sort out properly :

regExp = new RegExp()</description>
		<content:encoded><![CDATA[<p>btw, if you&#8217;re having regexp problems just remove until you have time to sort out properly :</p>
<p>regExp = new RegExp()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven H</title>
		<link>http://ctrloptcmd.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fctrloptcmd.com%2Farchives%2F37%2Fgetting-flash-and-twitter-to-play-nice%2F%23comment-284&amp;seed_title=Getting+Flash+and+Twitter+to+play+nice./comment-page-1/#comment-284</link>
		<dc:creator>Steven H</dc:creator>
		<pubDate>Tue, 07 Jul 2009 23:43:40 +0000</pubDate>
		<guid isPermaLink="false">http://ctrloptcmd.com/?p=37#comment-284</guid>
		<description>Fabulous solution...ideal if you just need to read the tweets...thanks for sharing!! If you need to post tweets, i guess it would still need a PHP proxy.</description>
		<content:encoded><![CDATA[<p>Fabulous solution&#8230;ideal if you just need to read the tweets&#8230;thanks for sharing!! If you need to post tweets, i guess it would still need a PHP proxy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://ctrloptcmd.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fctrloptcmd.com%2Farchives%2F37%2Fgetting-flash-and-twitter-to-play-nice%2F%23comment-96&amp;seed_title=Getting+Flash+and+Twitter+to+play+nice./comment-page-1/#comment-96</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Sun, 22 Mar 2009 12:56:04 +0000</pubDate>
		<guid isPermaLink="false">http://ctrloptcmd.com/?p=37#comment-96</guid>
		<description>Hey. Thank you.
I do indeed have a suggestion. To be honest the regex in this code is crap. (In fact the entire class could do with some refactoring, so check back in a little and I&#039;ll have it fixed up).

Recently I was getting fed up with the problems I kept having with validating URLs, so I sat down and wrote &lt;a href=&quot;http://ctrloptcmd.com/archives/587/actionscript-3-url-validator-class/&quot; rel=&quot;nofollow&quot;&gt;this class&lt;/a&gt; which I&#039;m pretty sure you&#039;ll find both better and easier to use.</description>
		<content:encoded><![CDATA[<p>Hey. Thank you.<br />
I do indeed have a suggestion. To be honest the regex in this code is crap. (In fact the entire class could do with some refactoring, so check back in a little and I&#8217;ll have it fixed up).</p>
<p>Recently I was getting fed up with the problems I kept having with validating URLs, so I sat down and wrote <a href="http://ctrloptcmd.com/archives/587/actionscript-3-url-validator-class/" rel="nofollow">this class</a> which I&#8217;m pretty sure you&#8217;ll find both better and easier to use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Monkey</title>
		<link>http://ctrloptcmd.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fctrloptcmd.com%2Farchives%2F37%2Fgetting-flash-and-twitter-to-play-nice%2F%23comment-95&amp;seed_title=Getting+Flash+and+Twitter+to+play+nice./comment-page-1/#comment-95</link>
		<dc:creator>Monkey</dc:creator>
		<pubDate>Sun, 22 Mar 2009 02:02:33 +0000</pubDate>
		<guid isPermaLink="false">http://ctrloptcmd.com/?p=37#comment-95</guid>
		<description>Hi 

The regular expression just throws an error in FDT as the // in the string comments out the second half of the code on that line - any ideas?

Nice work by the way!</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>The regular expression just throws an error in FDT as the // in the string comments out the second half of the code on that line &#8211; any ideas?</p>
<p>Nice work by the way!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://ctrloptcmd.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fctrloptcmd.com%2Farchives%2F37%2Fgetting-flash-and-twitter-to-play-nice%2F%23comment-90&amp;seed_title=Getting+Flash+and+Twitter+to+play+nice./comment-page-1/#comment-90</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Thu, 05 Mar 2009 17:21:23 +0000</pubDate>
		<guid isPermaLink="false">http://ctrloptcmd.com/?p=37#comment-90</guid>
		<description>Hi. 
I suppose there are a few ways you could go about this. One would be to mess around a bit with the actual &lt;a href=&quot;http://pipes.yahoo.com/pipes/pipe.info?_id=4b85031723ba7785e277add01b0169c5&quot; rel=&quot;nofollow&quot;&gt;
Yahoo Pipe&lt;/a&gt; that&#039;s being used as a buffer. That link will take you straight to the source.

An easier way perhaps if you&#039;re comfy with ActionScript is to simply add/subtract your offset to the timestamp in the RSS feed. Just get the time and cast it to &lt;code&gt;uints&lt;/code&gt; and then do something along these lines:

[cc lang=&quot;actionscript&quot;]
      var currentTime:Date = new Date();
		var utcHours:Number = currentTime.getUTCHours();
		var aussieHours:Number = currentTime.getUTCHours() + 9;

		XTrace.log(&quot;UTC: &quot; + utcHours);
		XTrace.log(&quot;Australia: &quot; + aussieHours);
[/cc]

Sorry I can&#039;t come up with a working example right now, but I&#039;m sure you&#039;ll figure it out.</description>
		<content:encoded><![CDATA[<p>Hi.<br />
I suppose there are a few ways you could go about this. One would be to mess around a bit with the actual <a href="http://pipes.yahoo.com/pipes/pipe.info?_id=4b85031723ba7785e277add01b0169c5" rel="nofollow"><br />
Yahoo Pipe</a> that&#8217;s being used as a buffer. That link will take you straight to the source.</p>
<p>An easier way perhaps if you&#8217;re comfy with ActionScript is to simply add/subtract your offset to the timestamp in the RSS feed. Just get the time and cast it to</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">uints</div></td></tr></tbody></table></div>
<p>and then do something along these lines:</p>
<div class="codecolorer-container actionscript twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> currentTime:<span style="color: #0066CC;">Date</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Date</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> utcHours:<span style="color: #0066CC;">Number</span> = currentTime.<span style="color: #0066CC;">getUTCHours</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> aussieHours:<span style="color: #0066CC;">Number</span> = currentTime.<span style="color: #0066CC;">getUTCHours</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> + <span style="color: #cc66cc;">9</span>;<br />
<br />
&nbsp; &nbsp; XTrace.<span style="color: #0066CC;">log</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;UTC: &quot;</span> + utcHours<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; XTrace.<span style="color: #0066CC;">log</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Australia: &quot;</span> + aussieHours<span style="color: #66cc66;">&#41;</span>;</div></td></tr></tbody></table></div>
<p>Sorry I can&#8217;t come up with a working example right now, but I&#8217;m sure you&#8217;ll figure it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William</title>
		<link>http://ctrloptcmd.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fctrloptcmd.com%2Farchives%2F37%2Fgetting-flash-and-twitter-to-play-nice%2F%23comment-89&amp;seed_title=Getting+Flash+and+Twitter+to+play+nice./comment-page-1/#comment-89</link>
		<dc:creator>William</dc:creator>
		<pubDate>Sun, 22 Feb 2009 23:36:22 +0000</pubDate>
		<guid isPermaLink="false">http://ctrloptcmd.com/?p=37#comment-89</guid>
		<description>Hey mate,

love this tutorial! Thanks a heap.

I have one small problem, the timestamp is not in the right timezone, as I live in Australia I&#039;m actually 10 hours ahead.

With a bit of googling it appears I can&#039;t do anything with the twitter backend and most websites showed php solutions.

Any ideas on your code on how to change the date? My actionscript (3 especially), is pretty intermediate.

Thanks for taking the time to read this comment.

Cheers William</description>
		<content:encoded><![CDATA[<p>Hey mate,</p>
<p>love this tutorial! Thanks a heap.</p>
<p>I have one small problem, the timestamp is not in the right timezone, as I live in Australia I&#8217;m actually 10 hours ahead.</p>
<p>With a bit of googling it appears I can&#8217;t do anything with the twitter backend and most websites showed php solutions.</p>
<p>Any ideas on your code on how to change the date? My actionscript (3 especially), is pretty intermediate.</p>
<p>Thanks for taking the time to read this comment.</p>
<p>Cheers William</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://ctrloptcmd.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fctrloptcmd.com%2Farchives%2F37%2Fgetting-flash-and-twitter-to-play-nice%2F%23comment-12&amp;seed_title=Getting+Flash+and+Twitter+to+play+nice./comment-page-1/#comment-12</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Tue, 26 Aug 2008 20:00:41 +0000</pubDate>
		<guid isPermaLink="false">http://ctrloptcmd.com/?p=37#comment-12</guid>
		<description>Sure thing.
If you add a trace statement on line 41 so it reads:
[cc lang=&quot;actionscript3&quot;]
if(twitLoader.data){
   tx = new XML(twitLoader.data);
   trace(tx)
...[/cc]
You&#039;ll see the full XML loaded from the Yahoo Pipe. Then just parse the timestamp and send it over to your main class to display.</description>
		<content:encoded><![CDATA[<p>Sure thing.<br />
If you add a trace statement on line 41 so it reads:</p>
<div class="codecolorer-container actionscript3 twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>twitLoader<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">data</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp;<span style="color: #004993;">tx</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=xml%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:xml.html"><span style="color: #004993;">XML</span></a><span style="color: #000000;">&#40;</span>twitLoader<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">data</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp;<span style="color: #004993;">trace</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">tx</span><span style="color: #000000;">&#41;</span><br />
<span style="color: #000066; font-weight: bold;">...</span></div></td></tr></tbody></table></div>
<p>You&#8217;ll see the full XML loaded from the Yahoo Pipe. Then just parse the timestamp and send it over to your main class to display.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://ctrloptcmd.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fctrloptcmd.com%2Farchives%2F37%2Fgetting-flash-and-twitter-to-play-nice%2F%23comment-14&amp;seed_title=Getting+Flash+and+Twitter+to+play+nice./comment-page-1/#comment-14</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Tue, 26 Aug 2008 19:54:19 +0000</pubDate>
		<guid isPermaLink="false">http://ctrloptcmd.com/?p=37#comment-14</guid>
		<description>I think most of the problems are because of the Twitter fail whale, but I can&#039;t say for sure.</description>
		<content:encoded><![CDATA[<p>I think most of the problems are because of the Twitter fail whale, but I can&#8217;t say for sure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://ctrloptcmd.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fctrloptcmd.com%2Farchives%2F37%2Fgetting-flash-and-twitter-to-play-nice%2F%23comment-13&amp;seed_title=Getting+Flash+and+Twitter+to+play+nice./comment-page-1/#comment-13</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Tue, 26 Aug 2008 19:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://ctrloptcmd.com/?p=37#comment-13</guid>
		<description>Great I&#039;ll try that. Thanks indeed.

On a different note, do you have frequent errors with the yahoo pipe...? At the moment the link (http://pipes.yahoo.com/pipes/pipe.info?_id=4b85031723ba7785e277add01b0169c5) you demonstrated above goes to an error page...

&quot;Sorry, Unable to process request at this time -- error 999.&quot;

Am I missing something, or does this just happen?</description>
		<content:encoded><![CDATA[<p>Great I&#8217;ll try that. Thanks indeed.</p>
<p>On a different note, do you have frequent errors with the yahoo pipe&#8230;? At the moment the link (<a href="http://pipes.yahoo.com/pipes/pipe.info?_id=4b85031723ba7785e277add01b0169c5" rel="nofollow">http://pipes.yahoo.com/pipes/pipe.info?_id=4b85031723ba7785e277add01b0169c5</a>) you demonstrated above goes to an error page&#8230;</p>
<p>&#8220;Sorry, Unable to process request at this time &#8212; error 999.&#8221;</p>
<p>Am I missing something, or does this just happen?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://ctrloptcmd.com/feeder/?FeederAction=clicked&amp;feed=Comments+on+Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fctrloptcmd.com%2Farchives%2F37%2Fgetting-flash-and-twitter-to-play-nice%2F%23comment-11&amp;seed_title=Getting+Flash+and+Twitter+to+play+nice./comment-page-1/#comment-11</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Tue, 26 Aug 2008 17:41:17 +0000</pubDate>
		<guid isPermaLink="false">http://ctrloptcmd.com/?p=37#comment-11</guid>
		<description>This is a fantastic solution. I love it. Got it working after some fiddling.... I was wondering if there is a way to get the time stamp on entries?

Thanks</description>
		<content:encoded><![CDATA[<p>This is a fantastic solution. I love it. Got it working after some fiddling&#8230;. I was wondering if there is a way to get the time stamp on entries?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
