<?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: Check your Interval</title>
	<atom:link href="http://blog.guya.net/2006/03/14/check-your-interval/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.guya.net/2006/03/14/check-your-interval/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=check-your-interval</link>
	<description>Flash and Everything Else</description>
	<lastBuildDate>Sun, 11 Dec 2011 07:35:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: guya</title>
		<link>http://blog.guya.net/2006/03/14/check-your-interval/#comment-18</link>
		<dc:creator>guya</dc:creator>
		<pubDate>Wed, 26 Apr 2006 17:26:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.guya.net/?p=8#comment-18</guid>
		<description>Thanks for your feedback Lar,
I tried to do what you suggested, I initiated t1 inside the onRelease but the results stayed the same. Maybe I&#039;m not following what you meant.</description>
		<content:encoded><![CDATA[<p>Thanks for your feedback Lar,<br />
I tried to do what you suggested, I initiated t1 inside the onRelease but the results stayed the same. Maybe I&#8217;m not following what you meant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lar</title>
		<link>http://blog.guya.net/2006/03/14/check-your-interval/#comment-17</link>
		<dc:creator>Lar</dc:creator>
		<pubDate>Wed, 26 Apr 2006 17:06:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.guya.net/?p=8#comment-17</guid>
		<description>If you declare t1 ( t1 = getTimer(); ) in the onRelease method the results are different from just having it in the interval function.  It was much closer to 1 second if the t1 timer was set in the initial release.  When run as is the swf generated 1056 aas an average on my machine, when I declared t1 in the onRelease in addition to the interval function I was averaging 1000 - 1013.  So the only difference is the t1 being set and not causign the NaN result on the first pass.  Not sure what this means for your testing but thought I would share my results.</description>
		<content:encoded><![CDATA[<p>If you declare t1 ( t1 = getTimer(); ) in the onRelease method the results are different from just having it in the interval function.  It was much closer to 1 second if the t1 timer was set in the initial release.  When run as is the swf generated 1056 aas an average on my machine, when I declared t1 in the onRelease in addition to the interval function I was averaging 1000 &#8211; 1013.  So the only difference is the t1 being set and not causign the NaN result on the first pass.  Not sure what this means for your testing but thought I would share my results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: guya</title>
		<link>http://blog.guya.net/2006/03/14/check-your-interval/#comment-16</link>
		<dc:creator>guya</dc:creator>
		<pubDate>Wed, 26 Apr 2006 10:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.guya.net/?p=8#comment-16</guid>
		<description>Thanks for your comment maliboo.
As I raise the fps it gets more accurate and at 120 it&#039;s pretty good, but I can&#039;t run most of my stuff at such high fps.</description>
		<content:encoded><![CDATA[<p>Thanks for your comment maliboo.<br />
As I raise the fps it gets more accurate and at 120 it&#8217;s pretty good, but I can&#8217;t run most of my stuff at such high fps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maliboo</title>
		<link>http://blog.guya.net/2006/03/14/check-your-interval/#comment-15</link>
		<dc:creator>maliboo</dc:creator>
		<pubDate>Wed, 26 Apr 2006 08:58:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.guya.net/?p=8#comment-15</guid>
		<description>Try increase framerate (ieg 120). Also some framerates are &quot;better&quot; than others: my diff. 1000 interval on 30FPS was about 12ms, but for 31FPS it was ~24ms.
Interval isn&#039;t executed in separate thread, but AFTER time, and code...

//---code
function a (when)
{
	trace(getTimer()-when)
	clearInterval(_root.i)
}

_root.i = setInterval(a, 1, getTimer())
var j = 100000; //the switch to 10
while(j--){};</description>
		<content:encoded><![CDATA[<p>Try increase framerate (ieg 120). Also some framerates are &#8220;better&#8221; than others: my diff. 1000 interval on 30FPS was about 12ms, but for 31FPS it was ~24ms.<br />
Interval isn&#8217;t executed in separate thread, but AFTER time, and code&#8230;</p>
<p>//&#8212;code<br />
function a (when)<br />
{<br />
	trace(getTimer()-when)<br />
	clearInterval(_root.i)<br />
}</p>
<p>_root.i = setInterval(a, 1, getTimer())<br />
var j = 100000; //the switch to 10<br />
while(j&#8211;){};</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: guya</title>
		<link>http://blog.guya.net/2006/03/14/check-your-interval/#comment-14</link>
		<dc:creator>guya</dc:creator>
		<pubDate>Thu, 16 Mar 2006 14:14:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.guya.net/?p=8#comment-14</guid>
		<description>Thanx for your comments momo
You sure did a lot of testing...
:)</description>
		<content:encoded><![CDATA[<p>Thanx for your comments momo<br />
You sure did a lot of testing&#8230; <img src='http://blog.guya.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Momo</title>
		<link>http://blog.guya.net/2006/03/14/check-your-interval/#comment-13</link>
		<dc:creator>Momo</dc:creator>
		<pubDate>Thu, 16 Mar 2006 12:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.guya.net/?p=8#comment-13</guid>
		<description>The time interval on my computer is not accurate as well.
I got Falsh MX 2004 and Player 8.
When I checked with 500 ms I got 550, 562, 544, 548, 561, 531, 558 ...
When I checked with 1000 ms I got 1080, 1016, 1000, 1092, 1008, 1000 ...
When I checked with 2000 ms I got 2015, 2014, 2000, 2000, 2000, 2000 ...
It was stable on 2000 for a while.
When I checked with 2020 ms and it wasn&#039;t stable.
(always higher than the Interval I wrote).

Momo.</description>
		<content:encoded><![CDATA[<p>The time interval on my computer is not accurate as well.<br />
I got Falsh MX 2004 and Player 8.<br />
When I checked with 500 ms I got 550, 562, 544, 548, 561, 531, 558 &#8230;<br />
When I checked with 1000 ms I got 1080, 1016, 1000, 1092, 1008, 1000 &#8230;<br />
When I checked with 2000 ms I got 2015, 2014, 2000, 2000, 2000, 2000 &#8230;<br />
It was stable on 2000 for a while.<br />
When I checked with 2020 ms and it wasn&#8217;t stable.<br />
(always higher than the Interval I wrote).</p>
<p>Momo.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

