

































<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Handling Cue Points for Audio Files in ActionScript 2.0 and ActionScript 3.0</title>
	<link>http://www.quip.net/blog/2006/flash/handling-audio-cue-points-as2-as3</link>
	<description>Luck is the residue of good design.</description>
	<pubDate>Tue, 07 Feb 2012 20:04:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>

	<item>
		<title>by: David Stiller</title>
		<link>http://www.quip.net/blog/2006/flash/handling-audio-cue-points-as2-as3#comment-82740</link>
		<pubDate>Tue, 18 Sep 2007 14:06:45 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/handling-audio-cue-points-as2-as3#comment-82740</guid>
					<description>Christian,

I could write a blog entry or two on that topic.  ;)  Sounds like a good one.  It's added to the list.</description>
		<content:encoded><![CDATA[<p>Christian,</p>
<p>I could write a blog entry or two on that topic.  <img src='http://www.quip.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />   Sounds like a good one.  It&#8217;s added to the list.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Christian</title>
		<link>http://www.quip.net/blog/2006/flash/handling-audio-cue-points-as2-as3#comment-79309</link>
		<pubDate>Thu, 06 Sep 2007 21:59:05 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/handling-audio-cue-points-as2-as3#comment-79309</guid>
					<description>Hi - Have you got any advice on using cuepoints for video with your &quot;no-component&quot; approach?

Thanks for a great blog - your advice is much appreciated!!!</description>
		<content:encoded><![CDATA[<p>Hi - Have you got any advice on using cuepoints for video with your &#8220;no-component&#8221; approach?</p>
<p>Thanks for a great blog - your advice is much appreciated!!!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: David Stiller</title>
		<link>http://www.quip.net/blog/2006/flash/handling-audio-cue-points-as2-as3#comment-49104</link>
		<pubDate>Fri, 01 Jun 2007 21:28:15 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/handling-audio-cue-points-as2-as3#comment-49104</guid>
					<description>Tim,

Yeah, that is weird &amp;#8212; and maybe I missed something important in my code!  I'll keep a reference to your input here and update the article on Adobe if I need to.  Thanks so much for the feedback!</description>
		<content:encoded><![CDATA[<p>Tim,</p>
<p>Yeah, that is weird &mdash; and maybe I missed something important in my code!  I&#8217;ll keep a reference to your input here and update the article on Adobe if I need to.  Thanks so much for the feedback!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Tim</title>
		<link>http://www.quip.net/blog/2006/flash/handling-audio-cue-points-as2-as3#comment-48567</link>
		<pubDate>Thu, 31 May 2007 14:15:00 +0000</pubDate>
		<guid>http://www.quip.net/blog/2006/flash/handling-audio-cue-points-as2-as3#comment-48567</guid>
					<description>Hey - beginner AS2 actionscripter here! I just used your SoundSync class for one of my projects - It came in very handy, so thanks very much!

Just one tiny thing I had to change , in the pollCuePoints function, where it goes:
// Advance to next cue point ...
if (_currentCuePoint &amp;#60; _cuePoints.length) {
	_currentCuePoint++;
} else {
	_currentCuePoint = getNextCuePointIndex(_secondOffset);
}

i had to change to (_currentCuePoint &amp;#60; _cuePoints.length-1)

because otherwise when we're on the final cuePoint , _currentCuePoint won't reset, not until the next poll. For some reason , on the next poll when there arent any more cue points , even though the variable time evaluates to undefined, and span is NaN, the condition (position &amp;#62;= time &amp;&amp; position &amp;#60;= span) returns true and an event is dispatched. weird hey!?</description>
		<content:encoded><![CDATA[<p>Hey - beginner AS2 actionscripter here! I just used your SoundSync class for one of my projects - It came in very handy, so thanks very much!</p>
<p>Just one tiny thing I had to change , in the pollCuePoints function, where it goes:<br />
// Advance to next cue point &#8230;<br />
if (_currentCuePoint &lt; _cuePoints.length) {<br />
	_currentCuePoint++;<br />
} else {<br />
	_currentCuePoint = getNextCuePointIndex(_secondOffset);<br />
}</p>
<p>i had to change to (_currentCuePoint &lt; _cuePoints.length-1)</p>
<p>because otherwise when we&#8217;re on the final cuePoint , _currentCuePoint won&#8217;t reset, not until the next poll. For some reason , on the next poll when there arent any more cue points , even though the variable time evaluates to undefined, and span is NaN, the condition (position &gt;= time &#038;&#038; position &lt;= span) returns true and an event is dispatched. weird hey!?
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

