<?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: Actionscript 3 Cue Points</title>
	<atom:link href="http://ahmednuaman.com/blog/2009/06/18/actionscript-3-cue-points/feed/" rel="self" type="application/rss+xml" />
	<link>http://ahmednuaman.com/blog/2009/06/18/actionscript-3-cue-points/</link>
	<description>The day to day blog of Ahmed Nuaman, Freelance Designer and Developer</description>
	<lastBuildDate>Thu, 18 Feb 2010 22:41:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ahmed</title>
		<link>http://ahmednuaman.com/blog/2009/06/18/actionscript-3-cue-points/comment-page-1/#comment-156</link>
		<dc:creator>Ahmed</dc:creator>
		<pubDate>Fri, 21 Aug 2009 07:17:58 +0000</pubDate>
		<guid isPermaLink="false">http://ahmednuaman.com/blog/?p=186#comment-156</guid>
		<description>Well the first thing to remember is that it &lt;em&gt;can&#039;t&lt;/em&gt; be 100% percent accurate as the check is ran on every frame rather than every second played on the video. However, it&#039;s never been that inaccurate for me. 

Just looking at your code, you&#039;ve got the var &quot;time&quot; set by the playing time of the video and then you&#039;re flooring a new var &quot;pTime&quot;. Is this a typo? Would be good to see more code so I can help.

I use this in the &lt;a href=&quot;http://1click2fame.com&quot; rel=&quot;nofollow&quot;&gt;1Click2Fame.com&lt;/a&gt; player that times when the info should disappear and when the vote overlay appears, as well as posting the time played and so on, so it does work. But I&#039;m glad to help!</description>
		<content:encoded><![CDATA[<p>Well the first thing to remember is that it <em>can&#8217;t</em> be 100% percent accurate as the check is ran on every frame rather than every second played on the video. However, it&#8217;s never been that inaccurate for me. </p>
<p>Just looking at your code, you&#8217;ve got the var &#8220;time&#8221; set by the playing time of the video and then you&#8217;re flooring a new var &#8220;pTime&#8221;. Is this a typo? Would be good to see more code so I can help.</p>
<p>I use this in the <a href="http://1click2fame.com" rel="nofollow">1Click2Fame.com</a> player that times when the info should disappear and when the vote overlay appears, as well as posting the time played and so on, so it does work. But I&#8217;m glad to help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quasimojo</title>
		<link>http://ahmednuaman.com/blog/2009/06/18/actionscript-3-cue-points/comment-page-1/#comment-155</link>
		<dc:creator>Quasimojo</dc:creator>
		<pubDate>Thu, 20 Aug 2009 21:41:25 +0000</pubDate>
		<guid isPermaLink="false">http://ahmednuaman.com/blog/?p=186#comment-155</guid>
		<description>Thanks for posting this. 
I noticed a couple of things: It won&#039;t allow integers like 2.2, the timing is off and I don&#039;t see the VideoPlayerEvent class.

&lt;code lang=&quot;actionscript3&quot;&gt;
myCuePoints.addCuePoint( 2, &quot;squid&quot;)
myCuePoints.addCuePoint( 3, &quot;boat&quot; );
myCuePoints.addCuePoint( 10, &quot;spear&quot;);
myCuePoints.addCuePoint( 11, &quot;bowl&quot;);

public function addCuePoint(cSeconds:Number, cEvent:String):void {
  cuePoints.push( cSeconds);
  cueEvents.push(cEvent);
}

var time:Number=playingTime.current;
var checkTime=Math.floor(pTime);
var test:Number = ArrayUtil.search( cuePoints, checkTime );

Tracing(&quot;time = &quot;+ checkTime+ &quot; , a cue @ &quot; +cuePoint+ &quot; for the &quot; +cueEvent);
&lt;/code&gt;

time = 0 , a cue @ 2 for the squid
time = 2 , a cue @ 3 for the boat
time = 3 , a cue @ 10 for the spear
time = 10 , a cue @ 11 for the bowl

I&#039;ve replaced the enterFrame event with a set interval and that didn&#039;t help.
How/why is 0 ==2, 2==3, 3==10 or 10==11 ?</description>
		<content:encoded><![CDATA[<p>Thanks for posting this.<br />
I noticed a couple of things: It won&#8217;t allow integers like 2.2, the timing is off and I don&#8217;t see the VideoPlayerEvent class.</p>
<div class="codecolorer-container actionscript3 mac-classic" 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 />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">myCuePoints<span style="color: #000066; font-weight: bold;">.</span>addCuePoint<span style="color: #000000;">&#40;</span> <span style="color: #000000; font-weight:bold;">2</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;squid&quot;</span><span style="color: #000000;">&#41;</span><br />
myCuePoints<span style="color: #000066; font-weight: bold;">.</span>addCuePoint<span style="color: #000000;">&#40;</span> <span style="color: #000000; font-weight:bold;">3</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;boat&quot;</span> <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
myCuePoints<span style="color: #000066; font-weight: bold;">.</span>addCuePoint<span style="color: #000000;">&#40;</span> <span style="color: #000000; font-weight:bold;">10</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;spear&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
myCuePoints<span style="color: #000066; font-weight: bold;">.</span>addCuePoint<span style="color: #000000;">&#40;</span> <span style="color: #000000; font-weight:bold;">11</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;bowl&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<br />
<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> addCuePoint<span style="color: #000000;">&#40;</span>cSeconds<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000066; font-weight: bold;">,</span> cEvent<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span><br />
&nbsp; cuePoints<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">push</span><span style="color: #000000;">&#40;</span> cSeconds<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; cueEvents<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">push</span><span style="color: #000000;">&#40;</span>cEvent<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #000000;">&#125;</span><br />
<br />
<span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">time</span><span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a>=playingTime<span style="color: #000066; font-weight: bold;">.</span>current<span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #6699cc; font-weight: bold;">var</span> checkTime=<a href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">floor</span><span style="color: #000000;">&#40;</span>pTime<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">test</span><span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a> = ArrayUtil<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">search</span><span style="color: #000000;">&#40;</span> cuePoints<span style="color: #000066; font-weight: bold;">,</span> checkTime <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<br />
Tracing<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;time = &quot;</span><span style="color: #000066; font-weight: bold;">+</span> checkTime<span style="color: #000066; font-weight: bold;">+</span> <span style="color: #990000;">&quot; , a cue @ &quot;</span> <span style="color: #000066; font-weight: bold;">+</span>cuePoint<span style="color: #000066; font-weight: bold;">+</span> <span style="color: #990000;">&quot; for the &quot;</span> <span style="color: #000066; font-weight: bold;">+</span>cueEvent<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div></td></tr></tbody></table></div>
<p>time = 0 , a cue @ 2 for the squid<br />
time = 2 , a cue @ 3 for the boat<br />
time = 3 , a cue @ 10 for the spear<br />
time = 10 , a cue @ 11 for the bowl</p>
<p>I&#8217;ve replaced the enterFrame event with a set interval and that didn&#8217;t help.<br />
How/why is 0 ==2, 2==3, 3==10 or 10==11 ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ahmed</title>
		<link>http://ahmednuaman.com/blog/2009/06/18/actionscript-3-cue-points/comment-page-1/#comment-151</link>
		<dc:creator>Ahmed</dc:creator>
		<pubDate>Tue, 18 Aug 2009 13:18:41 +0000</pubDate>
		<guid isPermaLink="false">http://ahmednuaman.com/blog/?p=186#comment-151</guid>
		<description>Wow, this is a lot of code. It looks like you&#039;re using the FLVPlayback component, which is a shame. Nevertheless, here are some tips to your questions:

1. Ok, what you need to do is to stop the FLVPlayback comp before you load in a new video, or, and this is better, make sure that when you load a new video you clear whatever&#039;s there.
2. Sounds like dodgy cue point systems, that&#039;s because the FLVPlayback burns cue points in rather than using scripted ones. Try using my component and see if it works for you.</description>
		<content:encoded><![CDATA[<p>Wow, this is a lot of code. It looks like you&#8217;re using the FLVPlayback component, which is a shame. Nevertheless, here are some tips to your questions:</p>
<p>1. Ok, what you need to do is to stop the FLVPlayback comp before you load in a new video, or, and this is better, make sure that when you load a new video you clear whatever&#8217;s there.<br />
2. Sounds like dodgy cue point systems, that&#8217;s because the FLVPlayback burns cue points in rather than using scripted ones. Try using my component and see if it works for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nitasha</title>
		<link>http://ahmednuaman.com/blog/2009/06/18/actionscript-3-cue-points/comment-page-1/#comment-148</link>
		<dc:creator>Nitasha</dc:creator>
		<pubDate>Fri, 14 Aug 2009 18:15:54 +0000</pubDate>
		<guid isPermaLink="false">http://ahmednuaman.com/blog/?p=186#comment-148</guid>
		<description>Can you help me please?!??!!??! I am a beginner in Flash programming, so I don&#039;t understand it fully.

I am using Dan Carr&#039;s example of &quot;Web video template&quot; code and files for this presentation. (http://www.adobe.com/devnet/flash/articles/vidtemplate_corppreso.html)
  
1... First, if the video hasn&#039;t loaded fully and the user hits the next button and ends up crossing into the video portion that has not been loaded yet, the whole app hangs up and then you can&#039;t even hit the back button to go to a previous slide. You have to reload the page to start all over!!! How can I fix this issue? Can you make it such that the user cannot scroll to the portion that hasn&#039;t been loaded yet?? 
  
2... Second, if the user scrolls to a part of the video in the seek bar, the slide doesn&#039;t change unless the video plays again and it encounters a cue point. Is there a way to make it understand based on the portion of the video you are on that a particular slide needs to show there without coming across a cue point??? 
  
Please look at my presentation here for reference:
http://www.betalocalcvr609.net/pres.html
  
I really appreciate any help soon. 
Thx, 
Nitasha

Here&#039;s my script code:
&lt;code lang=&quot;actionscript3&quot;&gt;
package code
{
	import fl.video.*;
	import flash.events.*;
	import flash.display.*;
	import flash.display.Sprite;
        import flash.net.navigateToURL;
        import flash.net.URLRequest;
	
	/********************************
	* SyncVideoPreso (document class)
	* The SyncVideoPreso class extends MovieClip
	* to create a simple synchronized video interface
	* on the main timeline of the FLA file. The class
	* may also be assigned to a symbol.
	* ---------------------
	* Developed by Dan Carr (dan@dancarrdesign.com)
	* For Adobe Systems, Inc., Flash Developer Center
	* Last modified: July 8, 2009
	*/	
	public class SyncVideoPreso extends MovieClip
	{
		//***************************
		// Properties:
		
		private var highlight_mc:MovieClip;
		
		//***************************
		// Constructor:
		
		public function SyncVideoPreso():void
		{
			// Listen for all clicks
			addEventListener(MouseEvent.CLICK, clickHandler);
			
			// Listen for cuepoints
			display.addEventListener(MetadataEvent.CUE_POINT, cuePointHandler);
		}
		
		//***************************
		// Event Handlers:
		
		// Create event handler functions to catch events from
		// the video component and update the interface...
		
		private function cuePointHandler( evt:MetadataEvent ):void
		{
			// Get the cue name from the event object
			synchVideoToInterace( evt.info.name );
		}
		
		// All button clicks pass through this event handler. Any
		// button ending in _btn is assumed to be a cuepoint button.
		
		private function clickHandler(event:MouseEvent):void
		{
			// Get button name
			var btnName:String = event.target.name;
			if( btnName.indexOf(&quot;_btn&quot;) != -1 )
			{
				// Seek to cuepoint
				seekToCuePoint(btnName.substr(0,-4));
			}
			if( btnName.indexOf(&quot;_link1&quot;) != -1 )
			{
            navigateToURL(new URLRequest(&quot;http://www.diabetesbehaviorchange.com&quot;));
        }
		}
		//***************************
		// Public Methods:
		
		// Navigation buttons call this function to trigger a change
		// in the video and the view of the content
		
		public function seekToCuePoint( cueName ) : void
		{
			// Find the cue point in the FLVPlayback component, seek
			// to time, and highlight the next button for a quick redraw
			var c:Object = display.findCuePoint( cueName );
			if( c ){
				// Validate that the requested time has downloaded
				// in progressive video to avoid stalls in the playback.
				if(!display.isRTMP )
				{
					var dltime:Number = display.totalTime * (display.bytesLoaded / display.bytesTotal);
					if( dltime &lt; c.time ){
						return;
					}
				}
				display.seekSeconds( c.time );
				findNextButton( c.name );
			}
		}
		 
		// The natural flow through the video or jumping by seeking 
		// forward and backward will trigger the following function
		
		public function synchVideoToInterace( cueName:String ):void
		{
			// Play if needed
			if(!display.isRTMP &amp;&amp; !display.playing ){
				display.play();
			}
			// Go to labeled frame
			gotoAndStop( cueName );
			
			// Update the higlight position
			findNextButton( cueName );
		}
		
		// Layout the button highlight when requested
		
		public function findNextButton( cueName:String ):void
		{
			// Look for buttons named with the current cue point 
			// name plus the letters &#039;_btn&#039; (i.e. introduction_btn)
			var cueBtn:DisplayObject = getChildByName(cueName+&quot;_btn&quot;);
			if( cueBtn )
			{
				// Attach the highlight clip if needed
				if( highlight_mc == null ){
					highlight_mc = new ThumbOutlineSelected();
					addChild(highlight_mc);  
					} 
				highlight_mc.x = cueBtn.x;
				highlight_mc.y = cueBtn.y;
			}
		} 
	}
	
	
}
&lt;/code&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Can you help me please?!??!!??! I am a beginner in Flash programming, so I don&#8217;t understand it fully.</p>
<p>I am using Dan Carr&#8217;s example of &#8220;Web video template&#8221; code and files for this presentation. (<a href="http://www.adobe.com/devnet/flash/articles/vidtemplate_corppreso.html" rel="nofollow">http://www.adobe.com/devnet/flash/articles/vidtemplate_corppreso.html</a>)</p>
<p>1&#8230; First, if the video hasn&#8217;t loaded fully and the user hits the next button and ends up crossing into the video portion that has not been loaded yet, the whole app hangs up and then you can&#8217;t even hit the back button to go to a previous slide. You have to reload the page to start all over!!! How can I fix this issue? Can you make it such that the user cannot scroll to the portion that hasn&#8217;t been loaded yet?? </p>
<p>2&#8230; Second, if the user scrolls to a part of the video in the seek bar, the slide doesn&#8217;t change unless the video plays again and it encounters a cue point. Is there a way to make it understand based on the portion of the video you are on that a particular slide needs to show there without coming across a cue point??? </p>
<p>Please look at my presentation here for reference:<br />
<a href="http://www.betalocalcvr609.net/pres.html" rel="nofollow">http://www.betalocalcvr609.net/pres.html</a></p>
<p>I really appreciate any help soon.<br />
Thx,<br />
Nitasha</p>
<p>Here&#8217;s my script code:</p>
<div class="codecolorer-container actionscript3 mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;height:600px;"><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 />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58<br />59<br />60<br />61<br />62<br />63<br />64<br />65<br />66<br />67<br />68<br />69<br />70<br />71<br />72<br />73<br />74<br />75<br />76<br />77<br />78<br />79<br />80<br />81<br />82<br />83<br />84<br />85<br />86<br />87<br />88<br />89<br />90<br />91<br />92<br />93<br />94<br />95<br />96<br />97<br />98<br />99<br />100<br />101<br />102<br />103<br />104<br />105<br />106<br />107<br />108<br />109<br />110<br />111<br />112<br />113<br />114<br />115<br />116<br />117<br />118<br />119<br />120<br />121<br />122<br />123<br />124<br />125<br />126<br />127<br />128<br />129<br />130<br />131<br />132<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: #9900cc; font-weight: bold;">package</span> <span style="color: #004993;">code</span><br />
<span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">import</span> fl<span style="color: #000066; font-weight: bold;">.</span>video<span style="color: #000066; font-weight: bold;">.*;</span><br />
&nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span><span style="color: #000066; font-weight: bold;">.*;</span><br />
&nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span><span style="color: #000066; font-weight: bold;">.*;</span><br />
&nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span><span style="color: #000066; font-weight: bold;">.</span><a href="http://www.google.com/search?q=sprite%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:sprite.html"><span style="color: #004993;">Sprite</span></a><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.net</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">navigateToURL</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.net</span><span style="color: #000066; font-weight: bold;">.</span><a href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #3f5fbf;">/********************************<br />
&nbsp; &nbsp; * SyncVideoPreso (document class)<br />
&nbsp; &nbsp; * The SyncVideoPreso class extends MovieClip<br />
&nbsp; &nbsp; * to create a simple synchronized video interface<br />
&nbsp; &nbsp; * on the main timeline of the FLA file. The class<br />
&nbsp; &nbsp; * may also be assigned to a symbol.<br />
&nbsp; &nbsp; * ---------------------<br />
&nbsp; &nbsp; * Developed by Dan Carr (dan@dancarrdesign.com)<br />
&nbsp; &nbsp; * For Adobe Systems, Inc., Flash Developer Center<br />
&nbsp; &nbsp; * Last modified: July 8, 2009<br />
&nbsp; &nbsp; */</span>&nbsp; <br />
&nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> SyncVideoPreso <span style="color: #0033ff; font-weight: bold;">extends</span> <a href="http://www.google.com/search?q=movieclip%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:movieclip.html"><span style="color: #004993;">MovieClip</span></a><br />
&nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">//***************************</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Properties:</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> highlight_mc<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=movieclip%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:movieclip.html"><span style="color: #004993;">MovieClip</span></a><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">//***************************</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Constructor:</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> SyncVideoPreso<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Listen for all clicks</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000066; font-weight: bold;">,</span> clickHandler<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Listen for cuepoints</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; display<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span>MetadataEvent<span style="color: #000066; font-weight: bold;">.</span>CUE_POINT<span style="color: #000066; font-weight: bold;">,</span> cuePointHandler<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">//***************************</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Event Handlers:</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Create event handler functions to catch events from</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// the video component and update the interface...</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> cuePointHandler<span style="color: #000000;">&#40;</span> evt<span style="color: #000066; font-weight: bold;">:</span>MetadataEvent <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Get the cue name from the event object</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; synchVideoToInterace<span style="color: #000000;">&#40;</span> evt<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">info</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">name</span> <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// All button clicks pass through this event handler. Any</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// button ending in _btn is assumed to be a cuepoint button.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> clickHandler<span style="color: #000000;">&#40;</span>event<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Get button name</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #6699cc; font-weight: bold;">var</span> btnName<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a> = event<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">target</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">name</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span> btnName<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">indexOf</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;_btn&quot;</span><span style="color: #000000;">&#41;</span> <span style="color: #000066; font-weight: bold;">!</span>= <span style="color: #000066; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">1</span> <span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Seek to cuepoint</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; seekToCuePoint<span style="color: #000000;">&#40;</span>btnName<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">substr</span><span style="color: #000000;">&#40;</span>0<span style="color: #000066; font-weight: bold;">,-</span>4<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span> btnName<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">indexOf</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;_link1&quot;</span><span style="color: #000000;">&#41;</span> <span style="color: #000066; font-weight: bold;">!</span>= <span style="color: #000066; font-weight: bold;">-</span>1 <span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #004993;">navigateToURL</span><span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;http://www.diabetesbehaviorchange.com&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">//***************************</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Public Methods:</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Navigation buttons call this function to trigger a change</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// in the video and the view of the content</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> seekToCuePoint<span style="color: #000000;">&#40;</span> cueName <span style="color: #000000;">&#41;</span> <span style="color: #000066; font-weight: bold;">:</span> <span style="color: #0033ff; font-weight: bold;">void</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Find the cue point in the FLVPlayback component, seek</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// to time, and highlight the next button for a quick redraw</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">c</span><span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=object%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:object.html"><span style="color: #004993;">Object</span></a> = display<span style="color: #000066; font-weight: bold;">.</span>findCuePoint<span style="color: #000000;">&#40;</span> cueName <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span> <span style="color: #004993;">c</span> <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Validate that the requested time has downloaded</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// in progressive video to avoid stalls in the playback.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span><span style="color: #000066; font-weight: bold;">!</span>display<span style="color: #000066; font-weight: bold;">.</span>isRTMP <span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #6699cc; font-weight: bold;">var</span> dltime<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a> = display<span style="color: #000066; font-weight: bold;">.</span>totalTime <span style="color: #000066; font-weight: bold;">*</span> <span style="color: #000000;">&#40;</span>display<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">bytesLoaded</span> <span style="color: #000066; font-weight: bold;">/</span> display<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">bytesTotal</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span> dltime <span style="color: #000066; font-weight: bold;">&lt;</span> <span style="color: #004993;">c</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">time</span> <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">return</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; display<span style="color: #000066; font-weight: bold;">.</span>seekSeconds<span style="color: #000000;">&#40;</span> <span style="color: #004993;">c</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">time</span> <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; findNextButton<span style="color: #000000;">&#40;</span> <span style="color: #004993;">c</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">name</span> <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// The natural flow through the video or jumping by seeking </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// forward and backward will trigger the following function</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> synchVideoToInterace<span style="color: #000000;">&#40;</span> cueName<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Play if needed</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span><span style="color: #000066; font-weight: bold;">!</span>display<span style="color: #000066; font-weight: bold;">.</span>isRTMP <span style="color: #000066; font-weight: bold;">&amp;&amp;</span> <span style="color: #000066; font-weight: bold;">!</span>display<span style="color: #000066; font-weight: bold;">.</span>playing <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; display<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">play</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Go to labeled frame</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #004993;">gotoAndStop</span><span style="color: #000000;">&#40;</span> cueName <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Update the higlight position</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; findNextButton<span style="color: #000000;">&#40;</span> cueName <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Layout the button highlight when requested</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> findNextButton<span style="color: #000000;">&#40;</span> cueName<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Look for buttons named with the current cue point </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// name plus the letters '_btn' (i.e. introduction_btn)</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #6699cc; font-weight: bold;">var</span> cueBtn<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=displayobject%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:displayobject.html"><span style="color: #004993;">DisplayObject</span></a> = <span style="color: #004993;">getChildByName</span><span style="color: #000000;">&#40;</span>cueName<span style="color: #000066; font-weight: bold;">+</span><span style="color: #990000;">&quot;_btn&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span> cueBtn <span style="color: #000000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Attach the highlight clip if needed</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span> highlight_mc == <span style="color: #0033ff; font-weight: bold;">null</span> <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; highlight_mc = <span style="color: #0033ff; font-weight: bold;">new</span> ThumbOutlineSelected<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>highlight_mc<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span> &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; highlight_mc<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span> = cueBtn<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; highlight_mc<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">y</span> = cueBtn<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">y</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span> <br />
&nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
<span style="color: #000000;">&#125;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
	</item>
</channel>
</rss>
