<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>FlashFocus.nl</title>
		<link>http://www.flashfocus.nl/forum</link>
		<description><![CDATA[De Beste Nederlandstalige Flash Resource Site - FlashFocus.nl Download hier je Flash files (fla's) om van te leren en lees hier het laatste Flash- en webdevelopment nieuws!]]></description>
		<language>nl</language>
		<lastBuildDate>Thu, 17 May 2012 03:46:34 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.flashfocus.nl/forum/images/misc/rss.jpg</url>
			<title>FlashFocus.nl</title>
			<link>http://www.flashfocus.nl/forum</link>
		</image>
		<item>
			<title>getRect</title>
			<link>http://www.flashfocus.nl/forum/showthread.php?t=63705&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 22:51:23 GMT</pubDate>
			<description>Hallo,  
 
Kan iemand mij misschien uitleggen wat getRect/getBounds nou precies doet? Ik heb dit stukje code gevonden, maar nu snap ik niet wat dit betekent: circle.getRect(stage); 
 
var circle:Shape = new Shape();  
circle.graphics.lineStyle(2, 0xFF0000);  
circle.graphics.drawCircle(250, 250, 100);  
addChild(circle);  
var circleBounds:Rectangle = circle.getBounds(stage);  
var target1:Rectangle = new Rectangle(0, 0, 100, 100);</description>
			<content:encoded><![CDATA[<div>Hallo, <br />
<br />
Kan iemand mij misschien uitleggen wat getRect/getBounds nou precies doet? Ik heb dit stukje code gevonden, maar nu snap ik niet wat dit betekent: circle.getRect(stage);<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">ActionScript 3 Code:</div>
	<pre class="alt2" style="margin:0px; padding:5px; border: 1px solid #B1B6C2; width:700px; height:180px; overflow:auto"><div dir="ltr" style="text-align:left;"><div class="actionscript3" style="font-family:monospace;"><pre><span style="color: #6699cc; font-weight: bold;">var</span> circle<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=shape%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:shape.html"><span style="color: #004993;">Shape</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=shape%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:shape.html"><span style="color: #004993;">Shape</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span> circle<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">graphics</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">lineStyle</span><span style="color: #000000;">&#40;</span>2<span style="color: #000000; font-weight: bold;">,</span> 0xFF0000<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span> circle<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">graphics</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">drawCircle</span><span style="color: #000000;">&#40;</span>250<span style="color: #000000; font-weight: bold;">,</span> 250<span style="color: #000000; font-weight: bold;">,</span> 100<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span> <span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>circle<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span> <span style="color: #6699cc; font-weight: bold;">var</span> circleBounds<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=rectangle%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:rectangle.html"><span style="color: #004993;">Rectangle</span></a> = circle<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">getBounds</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">stage</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span> <span style="color: #6699cc; font-weight: bold;">var</span> target1<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=rectangle%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:rectangle.html"><span style="color: #004993;">Rectangle</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=rectangle%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:rectangle.html"><span style="color: #004993;">Rectangle</span></a><span style="color: #000000;">&#40;</span>0<span style="color: #000000; font-weight: bold;">,</span> 0<span style="color: #000000; font-weight: bold;">,</span> 100<span style="color: #000000; font-weight: bold;">,</span> 100<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span> <span style="color: #004993;">trace</span><span style="color: #000000;">&#40;</span>circleBounds<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">intersects</span><span style="color: #000000;">&#40;</span>target1<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span> <span style="color: #999999; font-style: italic;">// false </span><span style="color: #6699cc; font-weight: bold;">var</span> target2<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=rectangle%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:rectangle.html"><span style="color: #004993;">Rectangle</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=rectangle%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:rectangle.html"><span style="color: #004993;">Rectangle</span></a><span style="color: #000000;">&#40;</span>0<span style="color: #000000; font-weight: bold;">,</span> 0<span style="color: #000000; font-weight: bold;">,</span> 300<span style="color: #000000; font-weight: bold;">,</span> 300<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span> <span style="color: #004993;">trace</span><span style="color: #000000;">&#40;</span>circleBounds<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">intersects</span><span style="color: #000000;">&#40;</span>target2<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span> <span style="color: #999999; font-style: italic;">// true</span></div></div></pre>
</div><br />
Enorm bedankt.</div>

]]></content:encoded>
			<category domain="http://www.flashfocus.nl/forum/forumdisplay.php?f=91">Flash ActionScript 3.0</category>
			<dc:creator>Crucio</dc:creator>
			<guid isPermaLink="true">http://www.flashfocus.nl/forum/showthread.php?t=63705</guid>
		</item>
		<item>
			<title><![CDATA[Interactief video's bewerken in Flash]]></title>
			<link>http://www.flashfocus.nl/forum/showthread.php?t=63703&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 20:57:01 GMT</pubDate>
			<description><![CDATA[Hallo, ik ben nu met een project bezig waarbij je in een .swf de mogelijkheid hebt om foto's te uploaden, die vervolgens worden verwerkt in een draaiende film. 
 
Ik ben echt een total noob in flash en AS3. Ik heb de film gemaakt in After Effects, vervolgens heb ik met mocha een aantal motion tracking paden gemaakt, die weer zijn geexporteerd naar AE. In AE zijn deze tracking paden (de 4 corner pin points) weer in markers gezet, en vervolgens geexporteerd naar .flv 
 
In deze .flv zitten dus...]]></description>
			<content:encoded><![CDATA[<div>Hallo, ik ben nu met een project bezig waarbij je in een .swf de mogelijkheid hebt om foto's te uploaden, die vervolgens worden verwerkt in een draaiende film.<br />
<br />
Ik ben echt een total noob in flash en AS3. Ik heb de film gemaakt in After Effects, vervolgens heb ik met mocha een aantal motion tracking paden gemaakt, die weer zijn geexporteerd naar AE. In AE zijn deze tracking paden (de 4 corner pin points) weer in markers gezet, en vervolgens geexporteerd naar .flv<br />
<br />
In deze .flv zitten dus gegevens van deze corner pin points. Deze leest hij uit in AS3, maar ik krijg een error.. Ik heb eigenlijk al de code van deze link: <a href="http://tv.adobe.com/watch/max-2008-design/the-motion-graphics-dream-team-after-effects-flash-cs4/" target="_blank">http://tv.adobe.com/watch/max-2008-d...cts-flash-cs4/</a><br />
<br />
Dit is echter in CS4, ik heb CS5.5 (geen idee of dit iets uit maakt trouwens)<br />
<br />
Dit is de error die ik krijg (ik heb testing.flv in dezelfde map staan als de .fla, en ook de foto01 en foto02):<br />
<br />
Scene 1, Layer 'code', Frame 1, Line 41    1046: Type was not found or was not a compile-time constant: VideoEvent.<br />
<br />
en <br />
<br />
Scene 1, Layer 'code', Frame 1, Line 60    1046: Type was not found or was not a compile-time constant: MetadataEvent.<br />
<br />
<br />
Het zal me niks verbazen als het gewoon een import faal van mijn kant oid is. Maar dit is de code waarmee het niet lukt (Dit werkt trouwens wel in de presentatie van de link, het is dus duidelijk mijn fout, maar dat is altijd natuurlijk :p):<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">ActionScript 3 Code:</div>
	<pre class="alt2" style="margin:0px; padding:5px; border: 1px solid #B1B6C2; width:700px; height:516px; overflow:auto"><div dir="ltr" style="text-align:left;"><div class="actionscript3" style="font-family:monospace;"><pre><span style="color: #0033ff; font-weight: bold;">import</span> fl<span style="color: #000000; font-weight: bold;">.</span>video<span style="color: #000000; font-weight: bold;">.*;</span><span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span><span style="color: #000000; font-weight: bold;">.*</span><span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span><span style="color: #000000; font-weight: bold;">.*;</span><span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">bitmapData</span><span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=bitmapdata%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:bitmapdata.html"><span style="color: #004993;">BitmapData</span></a><span style="color: #000000; font-weight: bold;">;</span> <span style="color: #999999; font-style: italic;">// texture</span><span style="color: #6699cc; font-weight: bold;">var</span> container<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=sprite%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:sprite.html"><span style="color: #004993;">Sprite</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=sprite%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:sprite.html"><span style="color: #004993;">Sprite</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> advertisement1<span style="color: #000000; font-weight: bold;">:</span>ImageLoader = <span style="color: #0033ff; font-weight: bold;">new</span> ImageLoader<span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;foto01.jpg&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>advertisement1<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a target="_blank" href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">COMPLETE</span><span style="color: #000000; font-weight: bold;">,</span> onImageLoaded<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> advertisement2<span style="color: #000000; font-weight: bold;">:</span>ImageLoader = <span style="color: #0033ff; font-weight: bold;">new</span> ImageLoader<span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;foto02.jpg&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #339966; font-weight: bold;">function</span> onImageLoaded<span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>	<span style="color: #004993;">bitmapData</span> = advertisement1<span style="color: #000000; font-weight: bold;">.</span>bitmap<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">bitmapData</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #6699cc; font-weight: bold;">var</span> prefs<span style="color: #000000; font-weight: bold;">:</span>Preferences = <span style="color: #0033ff; font-weight: bold;">new</span> Preferences<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>prefs<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">x</span> = <span style="color: #000000; font-weight:bold;">10</span><span style="color: #000000; font-weight: bold;">;</span>prefs<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">y</span> = <span style="color: #000000; font-weight:bold;">414</span><span style="color: #000000; font-weight: bold;">;</span>prefs<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000000; font-weight: bold;">,</span>onPrefsChange<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #339966; font-weight: bold;">function</span> onPrefsChange<span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>	<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">target</span><span style="color: #000000; font-weight: bold;">.</span>label == <span style="color: #009900;">&quot;Domestic Advetisement&quot;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>		<span style="color: #004993;">bitmapData</span> = advertisement1<span style="color: #000000; font-weight: bold;">.</span>bitmap<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">bitmapData</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #000000;">&#125;</span> <span style="color: #0033ff; font-weight: bold;">else</span> <span style="color: #000000;">&#123;</span>		<span style="color: #004993;">bitmapData</span> = advertisement2<span style="color: #000000; font-weight: bold;">.</span>bitmap<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">bitmapData</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#125;</span><span style="color: #6699cc; font-weight: bold;">var</span> my_FLVPlybk<span style="color: #000000; font-weight: bold;">:</span>FLVPlayback = <span style="color: #0033ff; font-weight: bold;">new</span> FLVPlayback<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>my_FLVPlybk<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">x</span> = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000; font-weight: bold;">;</span>my_FLVPlybk<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">y</span> = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000; font-weight: bold;">;</span>my_FLVPlybk<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">width</span> = <span style="color: #000000; font-weight:bold;">1920</span><span style="color: #000000; font-weight: bold;">;</span>my_FLVPlybk<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">height</span> = <span style="color: #000000; font-weight:bold;">1080</span><span style="color: #000000; font-weight: bold;">;</span>my_FLVPlybk<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">source</span> = <span style="color: #009900;">&quot;testing.flv&quot;</span><span style="color: #000000; font-weight: bold;">;</span>my_FLVPlybk<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span>VideoEvent<span style="color: #000000; font-weight: bold;">.</span>READY<span style="color: #000000; font-weight: bold;">,</span> ready_listener<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #339966; font-weight: bold;">function</span> ready_listener<span style="color: #000000;">&#40;</span>eventObject<span style="color: #000000; font-weight: bold;">:</span>VideoEvent<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>container<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>prefs<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span>my_FLVPlybk<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;complete&quot;</span><span style="color: #000000; font-weight: bold;">,</span> loop_it<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #339966; font-weight: bold;">function</span> loop_it<span style="color: #000000;">&#40;</span>eventObject<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=object%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:object.html"><span style="color: #004993;">Object</span></a><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	my_FLVPlybk<span style="color: #000000; 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: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #6699cc; font-weight: bold;">var</span> uvtData<span style="color: #000000; font-weight: bold;">:</span>Vector<span style="color: #000000; font-weight: bold;">.&lt;</span>Number<span style="color: #000000; font-weight: bold;">&gt;</span> = <span style="color: #0033ff; font-weight: bold;">new</span> Vector<span style="color: #000000; font-weight: bold;">.&lt;</span>Number<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>uvtData<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">push</span><span style="color: #000000;">&#40;</span>0<span style="color: #000000; font-weight: bold;">,</span>0<span style="color: #000000; font-weight: bold;">,</span>1<span style="color: #000000; font-weight: bold;">,</span> 1<span style="color: #000000; font-weight: bold;">,</span>0<span style="color: #000000; font-weight: bold;">,</span>1<span style="color: #000000; font-weight: bold;">,</span> 1<span style="color: #000000; font-weight: bold;">,</span>1<span style="color: #000000; font-weight: bold;">,</span>1<span style="color: #000000; font-weight: bold;">,</span> 0<span style="color: #000000; font-weight: bold;">,</span>1<span style="color: #000000; font-weight: bold;">,</span>1<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> indices<span style="color: #000000; font-weight: bold;">:</span>Vector<span style="color: #000000; font-weight: bold;">.&lt;</span>int<span style="color: #000000; font-weight: bold;">&gt;</span> = <span style="color: #0033ff; font-weight: bold;">new</span> Vector<span style="color: #000000; font-weight: bold;">.&lt;</span>int<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>indices<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">push</span><span style="color: #000000;">&#40;</span>0<span style="color: #000000; font-weight: bold;">,</span>1<span style="color: #000000; font-weight: bold;">,</span>3<span style="color: #000000; font-weight: bold;">,</span> 1<span style="color: #000000; font-weight: bold;">,</span>2<span style="color: #000000; font-weight: bold;">,</span>3<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>my_FLVPlybk<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span>MetadataEvent<span style="color: #000000; font-weight: bold;">.</span>CUE_POINT<span style="color: #000000; font-weight: bold;">,</span> cp_listener<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #339966; font-weight: bold;">function</span> cp_listener<span style="color: #000000;">&#40;</span>eventObject<span style="color: #000000; font-weight: bold;">:</span>MetadataEvent<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>	<span style="color: #6699cc; font-weight: bold;">var</span> coordString<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #6699cc; font-weight: bold;">var</span> params<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=array%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:array.html"><span style="color: #004993;">Array</span></a><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #6699cc; font-weight: bold;">var</span> cornerpoints<span style="color: #000000; font-weight: bold;">:</span>Vector<span style="color: #000000; font-weight: bold;">.&lt;</span>Number<span style="color: #000000; font-weight: bold;">&gt;</span> = <span style="color: #0033ff; font-weight: bold;">new</span> Vector<span style="color: #000000; font-weight: bold;">.&lt;</span>Number<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		coordString = eventObject<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">info</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">parameters</span><span style="color: #000000;">&#91;</span><span style="color: #009900;">&quot;Corner Pin_Upper Left&quot;</span><span style="color: #000000;">&#93;</span>	params = coordString<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">split</span><span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;,&quot;</span><span style="color: #000000; font-weight: bold;">,</span>2<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	cornerpoints<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">push</span><span style="color: #000000;">&#40;</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000;">&#40;</span>params<span style="color: #000000;">&#91;</span>0<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">,</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000;">&#40;</span>params<span style="color: #000000;">&#91;</span>1<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		coordString = eventObject<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">info</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">parameters</span><span style="color: #000000;">&#91;</span><span style="color: #009900;">&quot;Corner Pin_Upper Right&quot;</span><span style="color: #000000;">&#93;</span>	params = coordString<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">split</span><span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;,&quot;</span><span style="color: #000000; font-weight: bold;">,</span>2<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	cornerpoints<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">push</span><span style="color: #000000;">&#40;</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000;">&#40;</span>params<span style="color: #000000;">&#91;</span>0<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">,</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000;">&#40;</span>params<span style="color: #000000;">&#91;</span>1<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		coordString = eventObject<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">info</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">parameters</span><span style="color: #000000;">&#91;</span><span style="color: #009900;">&quot;Corner Pin_Lower Right&quot;</span><span style="color: #000000;">&#93;</span>	params = coordString<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">split</span><span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;,&quot;</span><span style="color: #000000; font-weight: bold;">,</span>2<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	cornerpoints<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">push</span><span style="color: #000000;">&#40;</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000;">&#40;</span>params<span style="color: #000000;">&#91;</span>0<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">,</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000;">&#40;</span>params<span style="color: #000000;">&#91;</span>1<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		coordString = eventObject<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">info</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">parameters</span><span style="color: #000000;">&#91;</span><span style="color: #009900;">&quot;Corner Pin_Lower Left&quot;</span><span style="color: #000000;">&#93;</span>	params = coordString<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">split</span><span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;,&quot;</span><span style="color: #000000; font-weight: bold;">,</span>2<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	cornerpoints<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">push</span><span style="color: #000000;">&#40;</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000;">&#40;</span>params<span style="color: #000000;">&#91;</span>0<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">,</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000;">&#40;</span>params<span style="color: #000000;">&#91;</span>1<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>				<span style="color: #999999; font-style: italic;">//tekenen cunt!</span>	container<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">graphics</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">clear</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	container<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">graphics</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">beginBitmapFill</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">bitmapData</span><span style="color: #000000; font-weight: bold;">,</span> <span style="color: #0033ff; font-weight: bold;">null</span><span style="color: #000000; font-weight: bold;">,</span> <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000; font-weight: bold;">,</span> <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	container<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">blendMode</span> = <a target="_blank" href="http://www.google.com/search?q=blendmode%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:blendmode.html"><span style="color: #004993;">BlendMode</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">OVERLAY</span>	container<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">alpha</span> = <span style="color: #000000; font-weight: bold;">.</span>7<span style="color: #000000; font-weight: bold;">;</span>	container<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">graphics</span><span style="color: #000000; font-weight: bold;">.</span>drawTriangles<span style="color: #000000;">&#40;</span>cornerpoints<span style="color: #000000; font-weight: bold;">,</span>indices<span style="color: #000000; font-weight: bold;">,</span>uvtData<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #000000;">&#125;</span><span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>my_FLVPlybk<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #004993;">stop</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span></div></div></pre>
</div><br />
Enig idee?</div>

]]></content:encoded>
			<category domain="http://www.flashfocus.nl/forum/forumdisplay.php?f=91">Flash ActionScript 3.0</category>
			<dc:creator>hectorh</dc:creator>
			<guid isPermaLink="true">http://www.flashfocus.nl/forum/showthread.php?t=63703</guid>
		</item>
		<item>
			<title>MovieClip op stage aanspreken vanuit class?</title>
			<link>http://www.flashfocus.nl/forum/showthread.php?t=63702&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 10:31:14 GMT</pubDate>
			<description>Beste mensen, 
 
Ik heb een vraag waar ik niet uit kom. Heb al het nodig zoek werk achter de rug. Op dit forum staan soortgelijke issues maar toch werkt het niet bij mij. Ik zou het fijn vinden als jullie even mee denken... 
 
(eenvoudig voorbeeld om probleem duidelijk te maken) 
Ik heb een MovieClip op de stage met de instance name: main. 
Deze op de main timeline om de class op te roepen: 
var logon:Logon=new Logon();Ik wil de visible propertie op false zetten vanuit de class Logon: 
File...</description>
			<content:encoded><![CDATA[<div>Beste mensen,<br />
<br />
Ik heb een vraag waar ik niet uit kom. Heb al het nodig zoek werk achter de rug. Op dit forum staan soortgelijke issues maar toch werkt het niet bij mij. Ik zou het fijn vinden als jullie even mee denken...<br />
<br />
(eenvoudig voorbeeld om probleem duidelijk te maken)<br />
Ik heb een MovieClip op de stage met de instance name: main.<br />
Deze op de main timeline om de class op te roepen:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">ActionScript 3 Code:</div>
	<pre class="alt2" style="margin:0px; padding:5px; border: 1px solid #B1B6C2; width:700px; height:52px; overflow:auto"><div dir="ltr" style="text-align:left;"><div class="actionscript3" style="font-family:monospace;"><pre><span style="color: #6699cc; font-weight: bold;">var</span> logon<span style="color: #000000; font-weight: bold;">:</span>Logon=<span style="color: #0033ff; font-weight: bold;">new</span> Logon<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span></div></div></pre>
</div>Ik wil de visible propertie op false zetten vanuit de class Logon:<br />
File Logon.as:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">ActionScript 3 Code:</div>
	<pre class="alt2" style="margin:0px; padding:5px; border: 1px solid #B1B6C2; width:700px; height:212px; overflow:auto"><div dir="ltr" style="text-align:left;"><div class="actionscript3" style="font-family:monospace;"><pre><span style="color: #9900cc; font-weight: bold;">package</span> <span style="color: #000000;">&#123;</span>	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span><span style="color: #000000; font-weight: bold;">.</span><a target="_blank" href="http://www.google.com/search?q=sprite%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:sprite.html"><span style="color: #004993;">Sprite</span></a><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> Logon <span style="color: #0033ff; font-weight: bold;">extends</span> <a target="_blank" href="http://www.google.com/search?q=sprite%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:sprite.html"><span style="color: #004993;">Sprite</span></a> <span style="color: #000000;">&#123;</span>				<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> Logon<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>			main<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">visible</span>=<span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000; font-weight: bold;">;</span> <span style="color: #999999; font-style: italic;">//hier moet natuurlijk iets voor</span>		<span style="color: #000000;">&#125;</span>			<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#125;</span></div></div></pre>
</div>Ik heb met het volgende zitten stoeien:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">ActionScript 3 Code:</div>
	<pre class="alt2" style="margin:0px; padding:5px; border: 1px solid #B1B6C2; width:700px; height:116px; overflow:auto"><div dir="ltr" style="text-align:left;"><div class="actionscript3" style="font-family:monospace;"><pre><span style="color: #999999; font-style: italic;">//var main:MovieClip = parent as MovieClip;</span><span style="color: #999999; font-style: italic;">//var main:Object = this.root as Object;</span><span style="color: #999999; font-style: italic;">//var main:MovieClip=stage.main;</span><span style="color: #999999; font-style: italic;">//(root as MovieClip).main.visible=true;</span><span style="color: #999999; font-style: italic;">//trace(root as MovieClip);</span></div></div></pre>
</div>Maar krijg telkens terug dat de parent NULL is? Ik snap er echt niets van..<br />
<br />
Ik ben nog niet zo lang bezig met as3 maar dit zou toch gewoon moeten kunnen?<br />
<br />
Alle help wordt gewaardeerd en is welkom.<br />
Thx:)</div>

]]></content:encoded>
			<category domain="http://www.flashfocus.nl/forum/forumdisplay.php?f=91">Flash ActionScript 3.0</category>
			<dc:creator>dideveed</dc:creator>
			<guid isPermaLink="true">http://www.flashfocus.nl/forum/showthread.php?t=63702</guid>
		</item>
		<item>
			<title>On/off Button</title>
			<link>http://www.flashfocus.nl/forum/showthread.php?t=63701&amp;goto=newpost</link>
			<pubDate>Mon, 14 May 2012 18:35:51 GMT</pubDate>
			<description>Hoi iedereen, 
 
Ik ben al een tijdje bezig om muziek op een website te krijgen met een cookie flash functie, die dan aan en uit kan zetten. 
 
Op deze website heb ik iets gevonden: 
http://www.ursart.com/index.php?page=flash_audio_cookies 
Ik ben niet zo ervaren met Flash, mijn vraag is ook of er iemand een ander achtergrond muziekje onder kan zetten en on/off kan vervangen door aan/uit? 
 
Ik heb op Youtube een video gevonden, maar mij lukt het nog steeds niet;...</description>
			<content:encoded><![CDATA[<div>Hoi iedereen,<br />
<br />
Ik ben al een tijdje bezig om muziek op een website te krijgen met een cookie flash functie, die dan aan en uit kan zetten.<br />
<br />
Op deze website heb ik iets gevonden:<br />
<a href="http://www.ursart.com/index.php?page=flash_audio_cookies" target="_blank">http://www.ursart.com/index.php?page..._audio_cookies</a><br />
Ik ben niet zo ervaren met Flash, mijn vraag is ook of er iemand een ander achtergrond muziekje onder kan zetten en on/off kan vervangen door aan/uit?<br />
<br />
Ik heb op Youtube een video gevonden, maar mij lukt het nog steeds niet; <a href="http://www.youtube.com/watch?v=lekI92Q6zIY" target="_blank">http://www.youtube.com/watch?v=lekI92Q6zIY</a><br />
<br />
Zou iemand mij willen helpen, stuur me dan even een PM.<br />
Een vergoeding is mogelijk.<br />
<br />
Groeten Robin Krijger</div>

]]></content:encoded>
			<category domain="http://www.flashfocus.nl/forum/forumdisplay.php?f=6"><![CDATA[Flash ActionScript 1.0 & 2.0]]></category>
			<dc:creator>Nibor</dc:creator>
			<guid isPermaLink="true">http://www.flashfocus.nl/forum/showthread.php?t=63701</guid>
		</item>
		<item>
			<title>Spelbord fouten</title>
			<link>http://www.flashfocus.nl/forum/showthread.php?t=63700&amp;goto=newpost</link>
			<pubDate>Sun, 13 May 2012 19:05:03 GMT</pubDate>
			<description>Bij het genereren van een spelbord denk ik dat ik een paar fouten heb gemaakt. Alvast dank voor de hulp. 
 
//DE CODE 
 
words = dictionaryTxt.split(String.fromCharCode(13, 10)); 
 
submitWordButton.addEventListener(MouseEvent.CLICK, submitWord); 
clearWordButton.addEventListener(MouseEvent.CLICK, clearWord); 
 
class een{</description>
			<content:encoded><![CDATA[<div>Bij het genereren van een spelbord denk ik dat ik een paar fouten heb gemaakt. Alvast dank voor de hulp.<br />
<br />
//DE CODE<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">ActionScript 3 Code:</div>
	<pre class="alt2" style="margin:0px; padding:5px; border: 1px solid #B1B6C2; width:700px; height:516px; overflow:auto"><div dir="ltr" style="text-align:left;"><div class="actionscript3" style="font-family:monospace;"><pre>words = dictionaryTxt<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">split</span><span style="color: #000000;">&#40;</span><a target="_blank" href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">fromCharCode</span><span style="color: #000000;">&#40;</span>13<span style="color: #000000; font-weight: bold;">,</span> 10<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>submitWordButton<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000000; font-weight: bold;">,</span> submitWord<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>clearWordButton<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000000; font-weight: bold;">,</span> clearWord<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #9900cc; font-weight: bold;">class</span> een<span style="color: #000000;">&#123;</span>		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> generateBoard<span style="color: #000000;">&#40;</span>startX<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000; font-weight: bold;">,</span> startY<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000; font-weight: bold;">,</span> totalRows<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000; font-weight: bold;">,</span> totalCols<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000; font-weight: bold;">,</span> buttonSize<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>	<span style="color: #000000;">&#123;</span>		buttons = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=array%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:array.html"><span style="color: #004993;">Array</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #6699cc; font-weight: bold;">var</span> colCounter<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=uint%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:uint.html"><span style="color: #004993;">uint</span></a><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #6699cc; font-weight: bold;">var</span> rowCounter<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=uint%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:uint.html"><span style="color: #004993;">uint</span></a><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #000000;">&#40;</span> rowCounter = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000; font-weight: bold;">;</span> rowCounter <span style="color: #000000; font-weight: bold;">&lt;</span> totalRows<span style="color: #000000; font-weight: bold;">;</span> rowCounter<span style="color: #000000; font-weight: bold;">++</span><span style="color: #000000;">&#41;</span>		<span style="color: #000000;">&#123;</span>			<span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #000000;">&#40;</span>colCounter = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000; font-weight: bold;">;</span> colCounter <span style="color: #000000; font-weight: bold;">&lt;</span> totalCols<span style="color: #000000; font-weight: bold;">;</span> colCounter<span style="color: #000000; font-weight: bold;">++</span><span style="color: #000000;">&#41;</span>			<span style="color: #000000;">&#123;</span>				<span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">b</span><span style="color: #000000; font-weight: bold;">:</span>Button = <span style="color: #0033ff; font-weight: bold;">new</span> Button<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>				<span style="color: #004993;">b</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">x</span> = startX <span style="color: #000000; font-weight: bold;">+</span> <span style="color: #000000;">&#40;</span>colCounter<span style="color: #000000; font-weight: bold;">*</span>buttonSize<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>				<span style="color: #004993;">b</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">y</span> = startY <span style="color: #000000; font-weight: bold;">+</span> <span style="color: #000000;">&#40;</span>rowCounter<span style="color: #000000; font-weight: bold;">*</span>buttonSize<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>				<span style="color: #004993;">b</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000000; font-weight: bold;">,</span> letterClicked<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>				<span style="color: #004993;">b</span><span style="color: #000000; font-weight: bold;">.</span>label = getRandomLetter<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">toUpperCase</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>				<span style="color: #004993;">b</span><span style="color: #000000; font-weight: bold;">.</span>setSize<span style="color: #000000;">&#40;</span>buttonSize<span style="color: #000000; font-weight: bold;">,</span>buttonSize<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>				<span style="color: #004993;">b</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">name</span> = <span style="color: #009900;">&quot;buttonRow&quot;</span><span style="color: #000000; font-weight: bold;">+</span>rowCounter<span style="color: #000000; font-weight: bold;">+</span><span style="color: #009900;">&quot;Col&quot;</span><span style="color: #000000; font-weight: bold;">+</span>colCounter<span style="color: #000000; font-weight: bold;">;</span>				<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">b</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>								buttons<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">push</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">b</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>			<span style="color: #000000;">&#125;</span>		<span style="color: #000000;">&#125;</span>	<span style="color: #000000;">&#125;</span>		<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> isLegalContinuation<span style="color: #000000;">&#40;</span>prevButton<span style="color: #000000; font-weight: bold;">:</span>Button<span style="color: #000000; font-weight: bold;">,</span> currButton<span style="color: #000000; font-weight: bold;">:</span>Button<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=boolean%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:boolean.html"><span style="color: #004993;">Boolean</span></a>	<span style="color: #000000;">&#123;</span>		<span style="color: #6699cc; font-weight: bold;">var</span> currButtonRow<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a> = <a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000;">&#40;</span>currButton<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">name</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">charAt</span><span style="color: #000000;">&#40;</span>currButton<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">name</span><span style="color: #000000; font-weight: bold;">.</span> <span style="color: #004993;">indexOf</span><span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;Row&quot;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span> 3<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #6699cc; font-weight: bold;">var</span> currButtonRow<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a> = <a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000;">&#40;</span>currButton<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">name</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">charAt</span><span style="color: #000000;">&#40;</span>currButton<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">name</span><span style="color: #000000; font-weight: bold;">.</span> <span style="color: #004993;">indexOf</span><span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;Col&quot;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span> 3<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #6699cc; font-weight: bold;">var</span> currButtonRow<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a> = <a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000;">&#40;</span>prevButton<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">name</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">charAt</span><span style="color: #000000;">&#40;</span>currButton<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">name</span><span style="color: #000000; font-weight: bold;">.</span> <span style="color: #004993;">indexOf</span><span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;Row&quot;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span> 3<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #6699cc; font-weight: bold;">var</span> currButtonRow<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a> = <a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000;">&#40;</span>prevButton<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">name</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">charAt</span><span style="color: #000000;">&#40;</span>currButton<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">name</span><span style="color: #000000; font-weight: bold;">.</span> <span style="color: #004993;">indexOf</span><span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;Col&quot;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span> 3<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>				<span style="color: #0033ff; font-weight: bold;">return</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#40;</span>prevButtonCol == currButtonCol <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <a target="_blank" href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">abs</span><span style="color: #000000;">&#40;</span>prevButtonRow <span style="color: #000000; font-weight: bold;">-</span> currButtonRow<span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">&lt;</span>= 1<span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">||</span>			<span style="color: #000000;">&#123;</span><span style="color: #000000;">&#40;</span>prevButtonRow == currButtonRow <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <a target="_blank" href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">abs</span><span style="color: #000000;">&#40;</span>prevButtonCol <span style="color: #000000; font-weight: bold;">-</span> currButtonCol<span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">&lt;</span>= 1<span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">:</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span>				<span style="color: #0033ff; font-weight: bold;">return</span> <span style="color: #000000;">&#40;</span><a target="_blank" href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">abs</span><span style="color: #000000;">&#40;</span>prevButtonRow <span style="color: #000000; font-weight: bold;">-</span> currButtonRow<span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">&lt;</span>= 1<span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <a target="_blank" href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">abs</span><span style="color: #000000;">&#40;</span>prevButtonCol <span style="color: #000000; font-weight: bold;">-</span> currButtonCol<span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">&lt;</span>= <span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000; font-weight: bold;">;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>			<span style="color: #000000;">&#125;</span>Private <span style="color: #339966; font-weight: bold;">function</span> searchForWord<span style="color: #000000;">&#40;</span>str<span style="color: #000000; font-weight: bold;">:</span> <a target="_blank" href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a>	<span style="color: #000000;">&#123;</span>		<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span>words <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> str<span style="color: #000000;">&#41;</span>		<span style="color: #000000;">&#123;</span>			<span style="color: #6699cc; font-weight: bold;">var</span> i<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=uint%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:uint.html"><span style="color: #004993;">uint</span></a> = 0			<span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #000000;">&#40;</span>i = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000; font-weight: bold;">;</span> i <span style="color: #000000; font-weight: bold;">&lt;</span> words<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">length</span><span style="color: #000000; font-weight: bold;">;</span> i<span style="color: #000000; font-weight: bold;">++</span><span style="color: #000000;">&#41;</span>			<span style="color: #000000;">&#123;</span>				<span style="color: #6699cc; font-weight: bold;">var</span> thisWord<span style="color: #000000; font-weight: bold;">:</span> <a target="_blank" href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a> = words<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span><span style="color: #000000; font-weight: bold;">;</span>				<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span>str == words <span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span>				<span style="color: #000000;">&#123;</span>					<span style="color: #0033ff; font-weight: bold;">return</span> i<span style="color: #000000; font-weight: bold;">;</span>				<span style="color: #000000;">&#125;</span>			<span style="color: #000000;">&#125;</span>			<span style="color: #0033ff; font-weight: bold;">return</span> <span style="color: #000000; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #000000;">&#125;</span>		<span style="color: #0033ff; font-weight: bold;">else</span>		<span style="color: #000000;">&#123;</span>			<span style="color: #004993;">trace</span><span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;WARNING: cannot find words, or string supplied is null&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #000000;">&#125;</span>		<span style="color: #0033ff; font-weight: bold;">return</span> <span style="color: #000000; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #000000;">&#125;</span>	<span style="color: #000000;">&#125;</span></div></div></pre>
</div><br />
//EINDE CODE</div>

]]></content:encoded>
			<category domain="http://www.flashfocus.nl/forum/forumdisplay.php?f=91">Flash ActionScript 3.0</category>
			<dc:creator>Jeroen11</dc:creator>
			<guid isPermaLink="true">http://www.flashfocus.nl/forum/showthread.php?t=63700</guid>
		</item>
		<item>
			<title>Event Dispatched en er naar luisteren!</title>
			<link>http://www.flashfocus.nl/forum/showthread.php?t=63697&amp;goto=newpost</link>
			<pubDate>Thu, 10 May 2012 14:40:54 GMT</pubDate>
			<description>Hi allemaal, ik heb een probleem met het dispatchen van een event. 
 
Ik heb een sigelton die niet op de displaylist staat maar wel moet luisteren naar een custom event die ik gemaakt heb. Kan deze singelton naar dit event luisteren als deze niet op de displaylist staat? Want nu bubbel ik het event, maar komt niet in mijn sigelton terecht. 
 
Als het ik het event direct op de singelton dispatch werkt het wel. 
b.v. 
 
Singelton.instance.dispatchEvent(new Event(Event.BLABLA));</description>
			<content:encoded><![CDATA[<div>Hi allemaal, ik heb een probleem met het dispatchen van een event.<br />
<br />
Ik heb een sigelton die niet op de displaylist staat maar wel moet luisteren naar een custom event die ik gemaakt heb. Kan deze singelton naar dit event luisteren als deze niet op de displaylist staat? Want nu bubbel ik het event, maar komt niet in mijn sigelton terecht.<br />
<br />
Als het ik het event direct op de singelton dispatch werkt het wel.<br />
b.v.<br />
<br />
Singelton.instance.dispatchEvent(new Event(Event.BLABLA));</div>

]]></content:encoded>
			<category domain="http://www.flashfocus.nl/forum/forumdisplay.php?f=91">Flash ActionScript 3.0</category>
			<dc:creator>Iasonic</dc:creator>
			<guid isPermaLink="true">http://www.flashfocus.nl/forum/showthread.php?t=63697</guid>
		</item>
		<item>
			<title>Simpel increment</title>
			<link>http://www.flashfocus.nl/forum/showthread.php?t=63696&amp;goto=newpost</link>
			<pubDate>Thu, 10 May 2012 13:01:46 GMT</pubDate>
			<description>Beste Flashfocus leden, 
 
Voor school zijn we nu bezig met AS 3.0. We zijn bezig met wat simpele scriptjes maar ik zou graag een increment willen toevoegen aan een variable. 
 
Ik zal even de desbetreffende code plaatsen. 
 
 
var vx : int = 2; 
var vy : int = 2;</description>
			<content:encoded><![CDATA[<div>Beste Flashfocus leden,<br />
<br />
Voor school zijn we nu bezig met AS 3.0. We zijn bezig met wat simpele scriptjes maar ik zou graag een increment willen toevoegen aan een variable.<br />
<br />
Ik zal even de desbetreffende code plaatsen.<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">ActionScript 3 Code:</div>
	<pre class="alt2" style="margin:0px; padding:5px; border: 1px solid #B1B6C2; width:700px; height:164px; overflow:auto"><div dir="ltr" style="text-align:left;"><div class="actionscript3" style="font-family:monospace;"><pre><span style="color: #6699cc; font-weight: bold;">var</span> vx <span style="color: #000000; font-weight: bold;">:</span> <a target="_blank" href="http://www.google.com/search?q=int%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:int.html"><span style="color: #004993;">int</span></a> = <span style="color: #000000; font-weight:bold;">2</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> vy <span style="color: #000000; font-weight: bold;">:</span> <a target="_blank" href="http://www.google.com/search?q=int%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:int.html"><span style="color: #004993;">int</span></a> = <span style="color: #000000; font-weight:bold;">2</span><span style="color: #000000; font-weight: bold;">;</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">...</span>vx = <a target="_blank" href="http://www.google.com/search?q=int%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:int.html"><span style="color: #004993;">int</span></a><span style="color: #000000;">&#40;</span>vx<span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span> <span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000; font-weight: bold;">;</span>vy = <a target="_blank" href="http://www.google.com/search?q=int%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:int.html"><span style="color: #004993;">int</span></a><span style="color: #000000;">&#40;</span>vy<span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span> <span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #004993;">trace</span><span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;Snelheid veranderd.&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span></div></div></pre>
</div>Met vriendelijke groet,<br />
Daniël Heesen</div>

]]></content:encoded>
			<category domain="http://www.flashfocus.nl/forum/forumdisplay.php?f=91">Flash ActionScript 3.0</category>
			<dc:creator>helldot</dc:creator>
			<guid isPermaLink="true">http://www.flashfocus.nl/forum/showthread.php?t=63696</guid>
		</item>
		<item>
			<title>swf (flash player met song) in DW; no sound?</title>
			<link>http://www.flashfocus.nl/forum/showthread.php?t=63695&amp;goto=newpost</link>
			<pubDate>Wed, 09 May 2012 22:23:07 GMT</pubDate>
			<description><![CDATA[hoi allemaal... 
 
ik( kennis dw en flash basic=beginnend) 
 
 
Met succes heb ik een MP3player gemaakt in flash CS3, MP3 speelt correct in browser(F12)... Maar "insert" in DW CS3 en bij F12 prview in browser krijg ik alleen de player te zien en speelt mijn MP3 niet af. Alles (script, SWF,mp3,flash) zit rechts bij mijn files in DW... Als ik apart klik op mijn MP3 in "files" DW (rechts) verschijnt een scherm "unable to launch C:enz..." Hij vindt de mp3 niet? Wat kan ik doen? thx]]></description>
			<content:encoded><![CDATA[<div>hoi allemaal...<br />
<br />
ik( kennis dw en flash basic=beginnend)<br />
<br />
<br />
Met succes heb ik een MP3player gemaakt in flash CS3, MP3 speelt correct in browser(F12)... Maar &quot;insert&quot; in DW CS3 en bij F12 prview in browser krijg ik alleen de player te zien en speelt mijn MP3 niet af. Alles (script, SWF,mp3,flash) zit rechts bij mijn files in DW... Als ik apart klik op mijn MP3 in &quot;files&quot; DW (rechts) verschijnt een scherm &quot;unable to launch C:enz...&quot; Hij vindt de mp3 niet? Wat kan ik doen? thx</div>

]]></content:encoded>
			<category domain="http://www.flashfocus.nl/forum/forumdisplay.php?f=91">Flash ActionScript 3.0</category>
			<dc:creator>MaineCoon</dc:creator>
			<guid isPermaLink="true">http://www.flashfocus.nl/forum/showthread.php?t=63695</guid>
		</item>
		<item>
			<title>Opslaan flash bestand</title>
			<link>http://www.flashfocus.nl/forum/showthread.php?t=63693&amp;goto=newpost</link>
			<pubDate>Wed, 09 May 2012 08:17:38 GMT</pubDate>
			<description>Hoi allemaal, 
  
Ik heb een flashbanner gemaakt voor mijn werk waarin het een en ander beweegt, prijsjes tevoorschijn komen etc. Nu komt echt het probleem, als ik t wil opslaan is het bestand veel te groot voor wat eigenlijk mag. 
  
Ik mag maar tot 75 kb opslaan, maar ik zit op 115 kb, veel te veel dus. Heeft iemand een idee hoe ik mijn flash bestand kan opslaan onder de 75 kb, maar dat wel de resolutie van mijn plaatjes redelijk goed blijven. Kan de plaatjes namelijk wel in Photoshop in...</description>
			<content:encoded><![CDATA[<div>Hoi allemaal,<br />
 <br />
Ik heb een flashbanner gemaakt voor mijn werk waarin het een en ander beweegt, prijsjes tevoorschijn komen etc. Nu komt echt het probleem, als ik t wil opslaan is het bestand veel te groot voor wat eigenlijk mag.<br />
 <br />
Ik mag maar tot 75 kb opslaan, maar ik zit op 115 kb, veel te veel dus. Heeft iemand een idee hoe ik mijn flash bestand kan opslaan onder de 75 kb, maar dat wel de resolutie van mijn plaatjes redelijk goed blijven. Kan de plaatjes namelijk wel in Photoshop in mindere kwaliteit opslaan maar dan ziet het er niet meer uit.<br />
 <br />
Heeft iemand een idee hoe ik dit probleem kan verhelpen? Ik hoor het graag.<br />
 <br />
Groetjes Patrick</div>

]]></content:encoded>
			<category domain="http://www.flashfocus.nl/forum/forumdisplay.php?f=2"><![CDATA[Flash Animatie & Design]]></category>
			<dc:creator>patlectic</dc:creator>
			<guid isPermaLink="true">http://www.flashfocus.nl/forum/showthread.php?t=63693</guid>
		</item>
		<item>
			<title>Bal + Keeper</title>
			<link>http://www.flashfocus.nl/forum/showthread.php?t=63692&amp;goto=newpost</link>
			<pubDate>Tue, 08 May 2012 15:49:11 GMT</pubDate>
			<description><![CDATA[Hallo allemaal, 
  
  
Ik ben bezig met een voetbalspelletje te maken. 
Na het testen met bones en IK in AS3 ben ik tot de conclusie moeten komen dat dit gewoon erg onhandig is. 
  
Ik wil graag een keeper maken, die zijn handen naar de bal 'schiet'. 
De rest van het lichaam moet er natuurlijk achteraan vliegen. 
  
Heeft iemand misschien een suggestie hoe ik dit het makkelijkst kan doen?]]></description>
			<content:encoded><![CDATA[<div>Hallo allemaal,<br />
 <br />
 <br />
Ik ben bezig met een voetbalspelletje te maken.<br />
Na het testen met bones en IK in AS3 ben ik tot de conclusie moeten komen dat dit gewoon erg onhandig is.<br />
 <br />
Ik wil graag een keeper maken, die zijn handen naar de bal 'schiet'.<br />
De rest van het lichaam moet er natuurlijk achteraan vliegen.<br />
 <br />
Heeft iemand misschien een suggestie hoe ik dit het makkelijkst kan doen?<br />
Ik heb al wat gehoord van Box2D, maar het ziet er niet naar uit dat ik mijn eigen graphics ik kan tekenen m.b.v. Flash IDE.<br />
 <br />
 <br />
Alvast bedankt!</div>

]]></content:encoded>
			<category domain="http://www.flashfocus.nl/forum/forumdisplay.php?f=91">Flash ActionScript 3.0</category>
			<dc:creator>Geoff</dc:creator>
			<guid isPermaLink="true">http://www.flashfocus.nl/forum/showthread.php?t=63692</guid>
		</item>
		<item>
			<title>intervals: getTimer of Date.getTime</title>
			<link>http://www.flashfocus.nl/forum/showthread.php?t=63691&amp;goto=newpost</link>
			<pubDate>Tue, 08 May 2012 13:02:12 GMT</pubDate>
			<description><![CDATA[Hoi FF'ers, 
 
Voor mijn multiplayer snake spel moet ik over een lange tijd (>30 minuten) het aantal milliseconden sinds de start van het spel kunnen bijhouden. Omdat dit verschil gebruikt wordt bij tijd synchronisatie met de server, mag er weinig of geen verloop in zitten met de daadwerkelijke tijd (<10ms op 30 minuten). 
 
Welke van de volgende functies kan ik dan beter gebruiken?  
 
*(new Date()).getTime()* of *flash.utils.getTimer() * 
 
Ik gebruik nu (new Date()).getTime() maar deze lijkt...]]></description>
			<content:encoded><![CDATA[<div>Hoi FF'ers,<br />
<br />
Voor mijn multiplayer snake spel moet ik over een lange tijd (&gt;30 minuten) het aantal milliseconden sinds de start van het spel kunnen bijhouden. Omdat dit verschil gebruikt wordt bij tijd synchronisatie met de server, mag er weinig of geen verloop in zitten met de daadwerkelijke tijd (&lt;10ms op 30 minuten).<br />
<br />
Welke van de volgende functies kan ik dan beter gebruiken? <br />
<br />
<b>(new Date()).getTime()</b> of <b>flash.utils.getTimer() </b><br />
<br />
Ik gebruik nu (new Date()).getTime() maar deze lijkt op sommige pc's langzaam te verlopen, waardoor het lijkt alsof er steeds meer lag ontstaat.<br />
<br />
Groeten, Geert</div>

]]></content:encoded>
			<category domain="http://www.flashfocus.nl/forum/forumdisplay.php?f=91">Flash ActionScript 3.0</category>
			<dc:creator>GBurg</dc:creator>
			<guid isPermaLink="true">http://www.flashfocus.nl/forum/showthread.php?t=63691</guid>
		</item>
		<item>
			<title>IK bones + AS3</title>
			<link>http://www.flashfocus.nl/forum/showthread.php?t=63690&amp;goto=newpost</link>
			<pubDate>Mon, 07 May 2012 16:19:48 GMT</pubDate>
			<description>Hallo allemaal, 
  
Ik ben bezig met een mannetje dat een bal moet vangen in AS3. 
Nou heb ik het mannetje compleet, met bones en al.. 
  
Maar hoe krijgt ik het voor elkaar dat zijn handen naar de bal vliegen, met het lichaam erachteraan? 
Ik ben al uren en uren aan het zoeken, maar geen enkel voorbeeld werkt. 
  
Iemand misschien een oplossing of meer info?</description>
			<content:encoded><![CDATA[<div>Hallo allemaal,<br />
 <br />
Ik ben bezig met een mannetje dat een bal moet vangen in AS3.<br />
Nou heb ik het mannetje compleet, met bones en al..<br />
 <br />
Maar hoe krijgt ik het voor elkaar dat zijn handen naar de bal vliegen, met het lichaam erachteraan?<br />
Ik ben al uren en uren aan het zoeken, maar geen enkel voorbeeld werkt.<br />
 <br />
Iemand misschien een oplossing of meer info?<br />
 <br />
 <br />
Groetjes,<br />
 <br />
Geoff</div>

]]></content:encoded>
			<category domain="http://www.flashfocus.nl/forum/forumdisplay.php?f=91">Flash ActionScript 3.0</category>
			<dc:creator>Geoff</dc:creator>
			<guid isPermaLink="true">http://www.flashfocus.nl/forum/showthread.php?t=63690</guid>
		</item>
		<item>
			<title>externe achtergrond muziek</title>
			<link>http://www.flashfocus.nl/forum/showthread.php?t=63689&amp;goto=newpost</link>
			<pubDate>Mon, 07 May 2012 11:24:24 GMT</pubDate>
			<description>Hallo Flash Focus! 
 
Ik heb op dit moment een probleem met het inladen met externe muziek. 
Voor een project heb ik een erg klein limiet aan het aantal KB dat ik mag gebruiken voor mijn .swf, waardoor ik niet een .wav bestandje intern kan afspelen. 
Aangezien de muziek wel essentieel is voor de boodschap, wou ik deze inladen vanaf een server, om het aantal KB laag te houden en toch mijn muziek af te spelen. 
 
Vanaf de Adobe site vond ik het volgende: 
 
import flash.events.Event;  
import...</description>
			<content:encoded><![CDATA[<div>Hallo Flash Focus!<br />
<br />
Ik heb op dit moment een probleem met het inladen met externe muziek.<br />
Voor een project heb ik een erg klein limiet aan het aantal KB dat ik mag gebruiken voor mijn .swf, waardoor ik niet een .wav bestandje intern kan afspelen.<br />
Aangezien de muziek wel essentieel is voor de boodschap, wou ik deze inladen vanaf een server, om het aantal KB laag te houden en toch mijn muziek af te spelen.<br />
<br />
Vanaf de Adobe site vond ik het volgende:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">ActionScript 3 Code:</div>
	<pre class="alt2" style="margin:0px; padding:5px; border: 1px solid #B1B6C2; width:700px; height:212px; overflow:auto"><div dir="ltr" style="text-align:left;"><div class="actionscript3" style="font-family:monospace;"><pre><span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span><span style="color: #000000; font-weight: bold;">.</span><a target="_blank" href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a><span style="color: #000000; font-weight: bold;">;</span><span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.media</span><span style="color: #000000; font-weight: bold;">.</span><a target="_blank" href="http://www.google.com/search?q=sound%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:sound.html"><span style="color: #004993;">Sound</span></a><span style="color: #000000; font-weight: bold;">;</span><span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.net</span><span style="color: #000000; font-weight: bold;">.</span><a target="_blank" href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> s<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=sound%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:sound.html"><span style="color: #004993;">Sound</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=sound%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:sound.html"><span style="color: #004993;">Sound</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>s<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a target="_blank" href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">COMPLETE</span><span style="color: #000000; font-weight: bold;">,</span> onSoundLoaded<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> req<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a><span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;bigSound.mp3&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>s<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">load</span><span style="color: #000000;">&#40;</span>req<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span> &nbsp;<span style="color: #339966; font-weight: bold;">function</span> onSoundLoaded<span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>	<span style="color: #6699cc; font-weight: bold;">var</span> localSound<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=sound%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:sound.html"><span style="color: #004993;">Sound</span></a> = event<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">target</span> <span style="color: #0033ff; font-weight: bold;">as</span> <a target="_blank" href="http://www.google.com/search?q=sound%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:sound.html"><span style="color: #004993;">Sound</span></a><span style="color: #000000; font-weight: bold;">;</span>	localSound<span style="color: #000000; 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: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span></div></div></pre>
</div><a href="http://livedocs.adobe.com/flex/3/html/help.html?content=Working_with_Sound_04.html" target="_blank">http://livedocs.adobe.com/flex/3/htm..._Sound_04.html</a><br />
<br />
Echter doet dit helemaal niets.<br />
(Ja, ik heb Bigsound.mp3 omgezet naar de juiste verwijzing)<br />
Kan het zijn dat ik dit alleen kan gebruiken met .MP3 bestanden?<br />
Wat gaat hier verkeerd?<br />
<br />
Alvast bedankt!</div>

]]></content:encoded>
			<category domain="http://www.flashfocus.nl/forum/forumdisplay.php?f=91">Flash ActionScript 3.0</category>
			<dc:creator>Filecreator</dc:creator>
			<guid isPermaLink="true">http://www.flashfocus.nl/forum/showthread.php?t=63689</guid>
		</item>
		<item>
			<title>Videoplayer verhouding problemen</title>
			<link>http://www.flashfocus.nl/forum/showthread.php?t=63688&amp;goto=newpost</link>
			<pubDate>Sun, 06 May 2012 18:46:07 GMT</pubDate>
			<description>Hi, 
 
Ik heb een videoplayer gedownload van Flashmo. 
Het gaat om deze videoplayer: http://www.flashmo.com/preview/flashmo_215_video_player 
 
Hij is een prima videoplayer,..precies wat ik nodig heb. Het enige probleem is, dat niet al mijn videos in verhouding blijven. 
In de bron bestand (Flash) is een grootte aangegeven van 640 x 360.  
Dus elke video van 1280 x 720 of 1920 x 1080 blijft goed in verhouding in deze videoplayer. 
Maar een brede video van bijvoorbeeld 900 x 400 wordt niet in de...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
Ik heb een videoplayer gedownload van Flashmo.<br />
Het gaat om deze videoplayer: <a href="http://www.flashmo.com/preview/flashmo_215_video_player" target="_blank">http://www.flashmo.com/preview/flashmo_215_video_player</a><br />
<br />
Hij is een prima videoplayer,..precies wat ik nodig heb. Het enige probleem is, dat niet al mijn videos in verhouding blijven.<br />
In de bron bestand (Flash) is een grootte aangegeven van 640 x 360. <br />
Dus elke video van 1280 x 720 of 1920 x 1080 blijft goed in verhouding in deze videoplayer.<br />
Maar een brede video van bijvoorbeeld 900 x 400 wordt niet in de juiste verhouding getoond. Normaal krijgt zo een brede video zwarte balkjes.<br />
Maar deze videoplayer rekt de video uit naar 640 x 360 waardoor het niet in verhouding is.<br />
<br />
Ik heb in de code proberen uit te vogelen of ik iets kon vinden met scaling van de videos, maar ik kom er niet echt uit.<br />
<br />
Weet iemand hoe ik dit kan oplossen?<br />
Alvast bedankt!<br />
<br />
Hier is de AS3 code:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">ActionScript 3 Code:</div>
	<pre class="alt2" style="margin:0px; padding:5px; border: 1px solid #B1B6C2; width:700px; height:516px; overflow:auto"><div dir="ltr" style="text-align:left;"><div class="actionscript3" style="font-family:monospace;"><pre><span style="color: #3f5fbf;">/*Credits for FLASH VIDEO PLAYERDeveloped By[url]http://www.flashmo.com[/url]References[url]http://www.gotoandlearn.com[/url][url]http://www.thetechlabs.com/tutorials/xml/expanding-the-as3-videoplayer[/url]Tweener[url]http://code.google.com/p/tweener[/url]*/</span><span style="color: #0033ff; font-weight: bold;">import</span> caurina<span style="color: #000000; font-weight: bold;">.</span>transitions<span style="color: #000000; font-weight: bold;">.</span>Tweener<span style="color: #000000; font-weight: bold;">;</span><span style="color: #0033ff; font-weight: bold;">import</span> caurina<span style="color: #000000; font-weight: bold;">.</span>transitions<span style="color: #000000; font-weight: bold;">.</span>properties<span style="color: #000000; font-weight: bold;">.</span>ColorShortcuts<span style="color: #000000; font-weight: bold;">;</span>ColorShortcuts<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">init</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> css_file<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a> = <span style="color: #009900;">&quot;flashmo_215_style.css&quot;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> buffer_time<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=uint%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:uint.html"><span style="color: #004993;">uint</span></a> = <span style="color: #000000; font-weight:bold;">3</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> auto_play<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=boolean%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:boolean.html"><span style="color: #004993;">Boolean</span></a> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> video_smoothing<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=boolean%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:boolean.html"><span style="color: #004993;">Boolean</span></a> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> item_paused<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=boolean%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:boolean.html"><span style="color: #004993;">Boolean</span></a> = <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> mouse_visible<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=boolean%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:boolean.html"><span style="color: #004993;">Boolean</span></a> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> scrub_interval<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=uint%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:uint.html"><span style="color: #004993;">uint</span></a><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> fullscreen_interval<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=uint%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:uint.html"><span style="color: #004993;">uint</span></a><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> video_interval<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=uint%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:uint.html"><span style="color: #004993;">uint</span></a> = <span style="color: #004993;">setInterval</span><span style="color: #000000;">&#40;</span> video_status<span style="color: #000000; font-weight: bold;">,</span> 100 <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> i<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> tn<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a> = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> video_duration<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> total_items<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> amount_loaded<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> current_no<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a> = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> flashmo_cpi<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a> = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> flashmo_lpi<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a> = <span style="color: #000000; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> last_mouse_x<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a> = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> last_mouse_y<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a> = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> control_bar_x<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a> = fm_control_bar<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> control_bar_y<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a> = fm_control_bar<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> flashmo_xml<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=xml%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:xml.html"><span style="color: #004993;">XML</span></a><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> total_min_sec<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> flashmo_item_list = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=array%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:array.html"><span style="color: #004993;">Array</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> item_group<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=movieclip%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:movieclip.html"><span style="color: #004993;">MovieClip</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=movieclip%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:movieclip.html"><span style="color: #004993;">MovieClip</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> css_loader<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=urlloader%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:urlloader.html"><span style="color: #004993;">URLLoader</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=urlloader%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:urlloader.html"><span style="color: #004993;">URLLoader</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> flashmo_style<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=stylesheet%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:stylesheet.html"><span style="color: #004993;">StyleSheet</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=stylesheet%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:stylesheet.html"><span style="color: #004993;">StyleSheet</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> custom_client<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=object%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:object.html"><span style="color: #004993;">Object</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=object%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:object.html"><span style="color: #004993;">Object</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> fm_st<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=soundtransform%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:soundtransform.html"><span style="color: #004993;">SoundTransform</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=soundtransform%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:soundtransform.html"><span style="color: #004993;">SoundTransform</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> fm_nc<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=netconnection%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:netconnection.html"><span style="color: #004993;">NetConnection</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=netconnection%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:netconnection.html"><span style="color: #004993;">NetConnection</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>fm_nc<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">connect</span><span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">null</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #6699cc; font-weight: bold;">var</span> fm_ns<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=netstream%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:netstream.html"><span style="color: #004993;">NetStream</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=netstream%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:netstream.html"><span style="color: #004993;">NetStream</span></a><span style="color: #000000;">&#40;</span> fm_nc <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #0033ff; font-weight: bold;">this</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span> item_group <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>item_group<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">mask</span> = slider_mask<span style="color: #000000; font-weight: bold;">;</span>item_group<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">x</span> = slider_mask<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">;</span>item_group<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">y</span> = slider_mask<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">;</span>flashmo_sb<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000; font-weight: bold;">;</span>flashmo_item_1<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000; font-weight: bold;">;</span>fm_control_bar<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000; font-weight: bold;">;</span>big_play_button<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">alpha</span> = video_hit<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">alpha</span> = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000; font-weight: bold;">;</span>big_play_button<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">scaleX</span> = big_play_button<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">scaleY</span> = <span style="color: #000000; font-weight:bold;">1.4</span><span style="color: #000000; font-weight: bold;">;</span>video_hit<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">buttonMode</span> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span>video_hit<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000000; font-weight: bold;">,</span> on_video_click <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>clickable_area<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">buttonMode</span> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span>fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar_scroller<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">buttonMode</span> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span>fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar_scroller<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">MOUSE_DOWN</span><span style="color: #000000; font-weight: bold;">,</span> scroller_drag <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar_scroller<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">MOUSE_UP</span><span style="color: #000000; font-weight: bold;">,</span> scroller_drop <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>clickable_area<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">MOUSE_DOWN</span><span style="color: #000000; font-weight: bold;">,</span> scroller_seek <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>flashmo_fullscreen<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000000; font-weight: bold;">,</span> switch_screen_mode <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #004993;">stage</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> FullScreenEvent<span style="color: #000000; font-weight: bold;">.</span>FULL_SCREEN<span style="color: #000000; font-weight: bold;">,</span> check_screen_mode <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>fm_ns<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">bufferTime</span> = buffer_time<span style="color: #000000; font-weight: bold;">;</span>fm_ns<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=netstatusevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:netstatusevent.html"><span style="color: #004993;">NetStatusEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">NET_STATUS</span><span style="color: #000000; font-weight: bold;">,</span> fm_netstat <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #339966; font-weight: bold;">function</span> load_xml<span style="color: #000000;">&#40;</span> xml_file<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	<span style="color: #6699cc; font-weight: bold;">var</span> xml_loader<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=urlloader%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:urlloader.html"><span style="color: #004993;">URLLoader</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=urlloader%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:urlloader.html"><span style="color: #004993;">URLLoader</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	xml_loader<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">load</span><span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a><span style="color: #000000;">&#40;</span> xml_file <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	xml_loader<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">COMPLETE</span><span style="color: #000000; font-weight: bold;">,</span> read_xml <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> read_xml<span style="color: #000000;">&#40;</span> e<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	flashmo_xml = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=xml%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:xml.html"><span style="color: #004993;">XML</span></a><span style="color: #000000;">&#40;</span> e<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">target</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">data</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	total_items = flashmo_xml<span style="color: #000000; font-weight: bold;">.</span>video<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">length</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #0033ff; font-weight: bold;">for</span><span style="color: #000000;">&#40;</span> i = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000; font-weight: bold;">;</span> i <span style="color: #000000; font-weight: bold;">&lt;</span> total_items<span style="color: #000000; font-weight: bold;">;</span> i<span style="color: #000000; font-weight: bold;">++</span> <span style="color: #000000;">&#41;</span>	<span style="color: #000000;">&#123;</span>		flashmo_item_list<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">push</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span>			title<span style="color: #000000; font-weight: bold;">:</span> flashmo_xml<span style="color: #000000; font-weight: bold;">.</span>video<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span><span style="color: #000000; font-weight: bold;">.</span>title<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">toString</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">,</span>			<span style="color: #004993;">description</span><span style="color: #000000; font-weight: bold;">:</span> flashmo_xml<span style="color: #000000; font-weight: bold;">.</span>video<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">description</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">toString</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">,</span>			<span style="color: #004993;">url</span><span style="color: #000000; font-weight: bold;">:</span> flashmo_xml<span style="color: #000000; font-weight: bold;">.</span>video<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">url</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">toString</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">,</span>			thumbnail<span style="color: #000000; font-weight: bold;">:</span> flashmo_xml<span style="color: #000000; font-weight: bold;">.</span>video<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span><span style="color: #000000; font-weight: bold;">.</span>thumbnail<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">toString</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">,</span>			duration<span style="color: #000000; font-weight: bold;">:</span> flashmo_xml<span style="color: #000000; font-weight: bold;">.</span>video<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span><span style="color: #000000; font-weight: bold;">.</span>duration<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">toString</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>		<span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #000000;">&#125;</span>	css_loader<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">load</span><span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a><span style="color: #000000;">&#40;</span>css_file<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	css_loader<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a target="_blank" href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">COMPLETE</span><span style="color: #000000; font-weight: bold;">,</span> css_complete<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> css_complete<span style="color: #000000;">&#40;</span> e<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	flashmo_style<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">parseCSS</span><span style="color: #000000;">&#40;</span> css_loader<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">data</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	load_tn<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> load_tn<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	<span style="color: #6699cc; font-weight: bold;">var</span> pic_request<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a><span style="color: #000000;">&#40;</span> flashmo_item_list<span style="color: #000000;">&#91;</span>tn<span style="color: #000000;">&#93;</span><span style="color: #000000; font-weight: bold;">.</span>thumbnail <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #6699cc; font-weight: bold;">var</span> pic_loader<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=loader%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:loader.html"><span style="color: #004993;">Loader</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=loader%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:loader.html"><span style="color: #004993;">Loader</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		pic_loader<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">load</span><span style="color: #000000;">&#40;</span> pic_request <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	pic_loader<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">contentLoaderInfo</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=progressevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:progressevent.html"><span style="color: #004993;">ProgressEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">PROGRESS</span><span style="color: #000000; font-weight: bold;">,</span> tn_progress <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	pic_loader<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">contentLoaderInfo</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">COMPLETE</span><span style="color: #000000; font-weight: bold;">,</span> tn_loaded <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> tn_progress<span style="color: #000000;">&#40;</span> e<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=progressevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:progressevent.html"><span style="color: #004993;">ProgressEvent</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	loading_status<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">text</span> = <span style="color: #009900;">&quot;loading item... &quot;</span> <span style="color: #000000; font-weight: bold;">+</span> <span style="color: #000000;">&#40;</span> tn<span style="color: #000000; font-weight: bold;">+</span><span style="color: #000000; font-weight:bold;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span> <span style="color: #009900;">&quot; of &quot;</span> <span style="color: #000000; font-weight: bold;">+</span> total_items<span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> tn_loaded<span style="color: #000000;">&#40;</span> e<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	<span style="color: #6699cc; font-weight: bold;">var</span> flashmo_tn_bm<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=bitmap%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:bitmap.html"><span style="color: #004993;">Bitmap</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=bitmap%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:bitmap.html"><span style="color: #004993;">Bitmap</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #6699cc; font-weight: bold;">var</span> item<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=movieclip%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:movieclip.html"><span style="color: #004993;">MovieClip</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> flashmo_item<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		flashmo_tn_bm = <a target="_blank" href="http://www.google.com/search?q=bitmap%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:bitmap.html"><span style="color: #004993;">Bitmap</span></a><span style="color: #000000;">&#40;</span> e<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">target</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">content</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	flashmo_tn_bm<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">smoothing</span> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span>	item<span style="color: #000000; font-weight: bold;">.</span>item_title<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">text</span> = flashmo_item_list<span style="color: #000000;">&#91;</span>tn<span style="color: #000000;">&#93;</span><span style="color: #000000; font-weight: bold;">.</span>title<span style="color: #000000; font-weight: bold;">;</span>	item<span style="color: #000000; font-weight: bold;">.</span>item_description<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">styleSheet</span> = flashmo_style<span style="color: #000000; font-weight: bold;">;</span>	item<span style="color: #000000; font-weight: bold;">.</span>item_description<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">htmlText</span> = flashmo_item_list<span style="color: #000000;">&#91;</span>tn<span style="color: #000000;">&#93;</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">description</span><span style="color: #000000; font-weight: bold;">;</span>	item<span style="color: #000000; font-weight: bold;">.</span>item_duration<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">text</span> = flashmo_item_list<span style="color: #000000;">&#91;</span>tn<span style="color: #000000;">&#93;</span><span style="color: #000000; font-weight: bold;">.</span>duration<span style="color: #000000; font-weight: bold;">;</span>	item<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">y</span> = item_group<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">numChildren</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">90</span><span style="color: #000000; font-weight: bold;">;</span>		item<span style="color: #000000; font-weight: bold;">.</span>hit<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">buttonMode</span> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span>	item<span style="color: #000000; font-weight: bold;">.</span>hit<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">MOUSE_OVER</span><span style="color: #000000; font-weight: bold;">,</span> item_over <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	item<span style="color: #000000; font-weight: bold;">.</span>hit<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">MOUSE_OUT</span><span style="color: #000000; font-weight: bold;">,</span> item_out <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	item<span style="color: #000000; font-weight: bold;">.</span>hit<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000000; font-weight: bold;">,</span> item_click <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	item<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">name</span> = <span style="color: #009900;">&quot;flashmo_video_&quot;</span> <span style="color: #000000; font-weight: bold;">+</span> item_group<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">numChildren</span><span style="color: #000000; font-weight: bold;">;</span>	item<span style="color: #000000; font-weight: bold;">.</span>tn<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span> flashmo_tn_bm <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	item_group<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span> item <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	tn<span style="color: #000000; font-weight: bold;">++;</span>		<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span> tn <span style="color: #000000; font-weight: bold;">&lt;</span> total_items <span style="color: #000000;">&#41;</span>	load_tn<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #0033ff; font-weight: bold;">else</span>	<span style="color: #000000;">&#123;</span>		loading_status<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">text</span> = <span style="color: #009900;">&quot;&quot;</span><span style="color: #000000; font-weight: bold;">;</span>		flashmo_sb<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span>		flashmo_sb<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">buttonMode</span> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span>		flashmo_sb<span style="color: #000000; font-weight: bold;">.</span>scrolling<span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;item_group&quot;</span><span style="color: #000000; font-weight: bold;">,</span> <span style="color: #009900;">&quot;slider_mask&quot;</span><span style="color: #000000; font-weight: bold;">,</span> 0<span style="color: #000000; font-weight: bold;">.</span>80<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		play_item<span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">true</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		add_controls<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> add_controls<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>flashmo_play<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000000; font-weight: bold;">,</span> on_click_play<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>flashmo_pause<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000000; font-weight: bold;">,</span> on_click_pause<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>flashmo_previous<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000000; font-weight: bold;">,</span> on_click_prev<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>flashmo_next<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000000; font-weight: bold;">,</span> on_click_next<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	fm_control_bar<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> play_item<span style="color: #000000;">&#40;</span> is_first_time<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=boolean%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:boolean.html"><span style="color: #004993;">Boolean</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span> flashmo_lpi <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">-</span>1 <span style="color: #000000;">&#41;</span>	change_color<span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=movieclip%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:movieclip.html"><span style="color: #004993;">MovieClip</span></a><span style="color: #000000;">&#40;</span>item_group<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">getChildAt</span><span style="color: #000000;">&#40;</span> flashmo_lpi <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">,</span> 0<span style="color: #000000; font-weight: bold;">,</span> 0<span style="color: #000000; font-weight: bold;">,</span> 0<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		change_color<span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=movieclip%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:movieclip.html"><span style="color: #004993;">MovieClip</span></a><span style="color: #000000;">&#40;</span>item_group<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">getChildAt</span><span style="color: #000000;">&#40;</span> flashmo_cpi <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">,</span> 18<span style="color: #000000; font-weight: bold;">,</span> 18<span style="color: #000000; font-weight: bold;">,</span> 18<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		Tweener<span style="color: #000000; font-weight: bold;">.</span>addTween<span style="color: #000000;">&#40;</span> big_play_button<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #000000;">&#123;</span> <span style="color: #004993;">alpha</span><span style="color: #000000; font-weight: bold;">:</span> 0<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">time</span><span style="color: #000000; font-weight: bold;">:</span> 0<span style="color: #000000; font-weight: bold;">.</span>4<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">scaleX</span><span style="color: #000000; font-weight: bold;">:</span> 1<span style="color: #000000; font-weight: bold;">.</span>4<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">scaleY</span><span style="color: #000000; font-weight: bold;">:</span> <span style="color: #000000; font-weight:bold;">1.4</span><span style="color: #000000; font-weight: bold;">,</span> transition<span style="color: #000000; font-weight: bold;">:</span><span style="color: #009900;">&quot;easeOutQuart&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	Tweener<span style="color: #000000; font-weight: bold;">.</span>addTween<span style="color: #000000;">&#40;</span> video_hit<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #000000;">&#123;</span> <span style="color: #004993;">alpha</span><span style="color: #000000; font-weight: bold;">:</span> 0<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">time</span><span style="color: #000000; font-weight: bold;">:</span> <span style="color: #000000; font-weight:bold;">0.4</span><span style="color: #000000; font-weight: bold;">,</span> transition<span style="color: #000000; font-weight: bold;">:</span><span style="color: #009900;">&quot;easeOutQuart&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #004993;">clearInterval</span><span style="color: #000000;">&#40;</span> video_interval <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #004993;">clearInterval</span><span style="color: #000000;">&#40;</span> scrub_interval <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>load_progress_bar<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">scaleX</span> =	fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>clickable_area<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">width</span> =	fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>fm_bar<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">width</span> = fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar_scroller<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">x</span> = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000; font-weight: bold;">;</span>		fm_st<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">volume</span> = fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>flashmo_volume<span style="color: #000000; font-weight: bold;">.</span>flashmo_scroller<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">x</span> <span style="color: #000000; font-weight: bold;">/</span>	<span style="color: #000000;">&#40;</span> fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>flashmo_volume<span style="color: #000000; font-weight: bold;">.</span>flashmo_scrollable_area<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">width</span> <span style="color: #000000; font-weight: bold;">-</span>	fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>flashmo_volume<span style="color: #000000; font-weight: bold;">.</span>flashmo_scroller<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">width</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		fm_video<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">attachNetStream</span><span style="color: #000000;">&#40;</span> fm_ns <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	fm_video<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">smoothing</span> = video_smoothing<span style="color: #000000; font-weight: bold;">;</span>	custom_client<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">onMetaData</span> = meta_data_handler<span style="color: #000000; font-weight: bold;">;</span>	fm_ns<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">client</span> = custom_client<span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span> is_first_time <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> auto_play <span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #000000; font-weight: bold;">!</span>is_first_time <span style="color: #000000;">&#41;</span>	<span style="color: #000000;">&#123;</span>		fm_ns<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">play</span><span style="color: #000000;">&#40;</span> flashmo_item_list<span style="color: #000000;">&#91;</span>flashmo_cpi<span style="color: #000000;">&#93;</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">url</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		flashmo_buffer<span style="color: #000000; font-weight: bold;">.</span>buffer_info<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">text</span> = <span style="color: #009900;">&quot;BUFFERING VIDEO&quot;</span><span style="color: #000000; font-weight: bold;">;</span>		fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>flashmo_pause<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span>		fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>flashmo_play<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000; font-weight: bold;">;</span>		item_paused = <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #000000;">&#125;</span>	<span style="color: #0033ff; font-weight: bold;">else</span>	<span style="color: #000000;">&#123;</span>		flashmo_buffer<span style="color: #000000; font-weight: bold;">.</span>buffer_info<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">text</span> = <span style="color: #009900;">&quot;&quot;</span><span style="color: #000000; font-weight: bold;">;</span>		fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>flashmo_pause<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000; font-weight: bold;">;</span>		fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>flashmo_play<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span>		item_paused = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #000000;">&#125;</span>		flashmo_lpi = flashmo_cpi<span style="color: #000000; font-weight: bold;">;</span>	fm_ns<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">soundTransform</span> = fm_st<span style="color: #000000; font-weight: bold;">;</span>	video_interval = <span style="color: #004993;">setInterval</span><span style="color: #000000;">&#40;</span> video_status<span style="color: #000000; font-weight: bold;">,</span> 100 <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> scroller_seek<span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	<span style="color: #6699cc; font-weight: bold;">var</span> drag_area<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=rectangle%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:rectangle.html"><span style="color: #004993;">Rectangle</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=rectangle%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:rectangle.html"><span style="color: #004993;">Rectangle</span></a><span style="color: #000000;">&#40;</span> 0<span style="color: #000000; font-weight: bold;">,</span> fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar_scroller<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">,</span>	fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>clickable_area<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">width</span><span style="color: #000000; font-weight: bold;">,</span> 0 <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar_scroller<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">startDrag</span><span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">,</span> drag_area <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #004993;">clearInterval</span><span style="color: #000000;">&#40;</span> video_interval <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	scrub_interval = <span style="color: #004993;">setInterval</span><span style="color: #000000;">&#40;</span> on_scroll<span style="color: #000000; font-weight: bold;">,</span> 10 <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #004993;">stage</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">MOUSE_UP</span><span style="color: #000000; font-weight: bold;">,</span> up <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> video_status<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>	fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>load_progress_bar<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">width</span> = fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>clickable_area<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">width</span> = fm_ns<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">bytesLoaded</span> <span style="color: #000000; font-weight: bold;">*</span> fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>load_progress_bar_bg<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">width</span> <span style="color: #000000; font-weight: bold;">/</span> fm_ns<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">bytesTotal</span><span style="color: #000000; font-weight: bold;">;</span>		fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>fm_bar<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">width</span> = fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar_scroller<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">x</span> = fm_ns<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">time</span> <span style="color: #000000; font-weight: bold;">*</span> fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>load_progress_bar_bg<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">width</span> <span style="color: #000000; font-weight: bold;">/</span> video_duration<span style="color: #000000; font-weight: bold;">;</span>		fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>status_text<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">text</span> = &nbsp;pad_zero<span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">floor</span><span style="color: #000000;">&#40;</span> fm_ns<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">time</span> <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight:bold;">60</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span>	<span style="color: #009900;">&quot;:&quot;</span> <span style="color: #000000; font-weight: bold;">+</span> pad_zero<span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">floor</span><span style="color: #000000;">&#40;</span> fm_ns<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">time</span> <span style="color: #000000; font-weight: bold;">%</span> <span style="color: #000000; font-weight:bold;">60</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span> <span style="color: #009900;">&quot; / &quot;</span> <span style="color: #000000; font-weight: bold;">+</span> total_min_sec<span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> on_scroll<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>	fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>fm_bar<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">width</span> = fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar_scroller<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #6699cc; font-weight: bold;">var</span> playback_ratio<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a> = <span style="color: #000000;">&#40;</span> fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>fm_bar<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">width</span> <span style="color: #000000; font-weight: bold;">/</span> fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>load_progress_bar_bg<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">width</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> video_duration<span style="color: #000000; font-weight: bold;">;</span>		fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>status_text<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">text</span> = pad_zero<span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">floor</span><span style="color: #000000;">&#40;</span> playback_ratio <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight:bold;">60</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span>	<span style="color: #009900;">&quot;:&quot;</span> <span style="color: #000000; font-weight: bold;">+</span> pad_zero<span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">floor</span><span style="color: #000000;">&#40;</span> playback_ratio <span style="color: #000000; font-weight: bold;">%</span> <span style="color: #000000; font-weight:bold;">60</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span> <span style="color: #009900;">&quot; / &quot;</span> <span style="color: #000000; font-weight: bold;">+</span> total_min_sec<span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> scroller_drag<span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	<span style="color: #6699cc; font-weight: bold;">var</span> drag_area<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=rectangle%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:rectangle.html"><span style="color: #004993;">Rectangle</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=rectangle%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:rectangle.html"><span style="color: #004993;">Rectangle</span></a><span style="color: #000000;">&#40;</span> 0<span style="color: #000000; font-weight: bold;">,</span> fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar_scroller<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">,</span> fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>clickable_area<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">width</span><span style="color: #000000; font-weight: bold;">,</span> 0 <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	me<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">target</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">startDrag</span><span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000; font-weight: bold;">,</span> drag_area <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #004993;">clearInterval</span><span style="color: #000000;">&#40;</span> video_interval <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	scrub_interval = <span style="color: #004993;">setInterval</span><span style="color: #000000;">&#40;</span> on_scroll<span style="color: #000000; font-weight: bold;">,</span> 10 <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #004993;">stage</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">MOUSE_UP</span><span style="color: #000000; font-weight: bold;">,</span> up <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> scroller_drop<span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	me<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">target</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">stopDrag</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> up<span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar_scroller<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">stopDrag</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	fm_ns<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">seek</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">round</span><span style="color: #000000;">&#40;</span> fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar_scroller<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">x</span> <span style="color: #000000; font-weight: bold;">*</span> video_duration <span style="color: #000000; font-weight: bold;">/</span> fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>status_bar<span style="color: #000000; font-weight: bold;">.</span>load_progress_bar_bg<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">width</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #004993;">clearInterval</span><span style="color: #000000;">&#40;</span> scrub_interval <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	video_interval = <span style="color: #004993;">setInterval</span><span style="color: #000000;">&#40;</span> video_status<span style="color: #000000; font-weight: bold;">,</span> 100 <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #004993;">stage</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">removeEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">MOUSE_UP</span><span style="color: #000000; font-weight: bold;">,</span> up <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> on_video_click<span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span> item_paused <span style="color: #000000;">&#41;</span>	on_click_play<span style="color: #000000;">&#40;</span> me <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #0033ff; font-weight: bold;">else</span>	on_click_pause<span style="color: #000000;">&#40;</span> me <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> switch_screen_mode<span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span> <span style="color: #004993;">stage</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">displayState</span> == StageDisplayState<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">NORMAL</span> <span style="color: #000000;">&#41;</span>	<span style="color: #000000;">&#123;</span>		<span style="color: #6699cc; font-weight: bold;">var</span> screen_rectangle<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=rectangle%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:rectangle.html"><span style="color: #004993;">Rectangle</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a target="_blank" href="http://www.google.com/search?q=rectangle%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:rectangle.html"><span style="color: #004993;">Rectangle</span></a><span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">this</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">x</span> <span style="color: #000000; font-weight: bold;">+</span> fm_video<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">,</span> <span style="color: #0033ff; font-weight: bold;">this</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">y</span> <span style="color: #000000; font-weight: bold;">+</span> fm_video<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">,</span> fm_video<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">width</span><span style="color: #000000; font-weight: bold;">,</span> fm_video<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">height</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #004993;">stage</span><span style="color: #000000; font-weight: bold;">.</span>fullScreenSourceRect = screen_rectangle<span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #004993;">stage</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">displayState</span> = StageDisplayState<span style="color: #000000; font-weight: bold;">.</span>FULL_SCREEN<span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #000000;">&#125;</span>	<span style="color: #0033ff; font-weight: bold;">else</span>	<span style="color: #000000;">&#123;</span>		<span style="color: #004993;">stage</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">displayState</span> = StageDisplayState<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">NORMAL</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> check_screen_mode<span style="color: #000000;">&#40;</span> fe<span style="color: #000000; font-weight: bold;">:</span>FullScreenEvent <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>	<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span> fe<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">fullScreen</span> <span style="color: #000000;">&#41;</span>	<span style="color: #000000;">&#123;</span>		Tweener<span style="color: #000000; font-weight: bold;">.</span>addTween<span style="color: #000000;">&#40;</span> fm_control_bar<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #000000;">&#123;</span> <span style="color: #004993;">alpha</span><span style="color: #000000; font-weight: bold;">:</span> 1<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">time</span><span style="color: #000000; font-weight: bold;">:</span> 0<span style="color: #000000; font-weight: bold;">.</span>5<span style="color: #000000; font-weight: bold;">,</span>		<span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">:</span> <span style="color: #000000;">&#40;</span> control_bar_y <span style="color: #000000; font-weight: bold;">-</span> fm_control_bar<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">height</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">,</span> transition<span style="color: #000000; font-weight: bold;">:</span> <span style="color: #009900;">&quot;easeInExpo&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		fullscreen_interval = <span style="color: #004993;">setInterval</span><span style="color: #000000;">&#40;</span> detect_mouse<span style="color: #000000; font-weight: bold;">,</span> 2000 <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		video_hit<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">MOUSE_MOVE</span><span style="color: #000000; font-weight: bold;">,</span> on_mouse_move <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		fm_control_bar<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000000; font-weight: bold;">,</span> on_click_control <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #000000;">&#125;</span>	<span style="color: #0033ff; font-weight: bold;">else</span>	<span style="color: #000000;">&#123;</span>		<a target="_blank" href="http://www.google.com/search?q=mouse%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouse.html"><span style="color: #004993;">Mouse</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">show</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		mouse_visible = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span>		Tweener<span style="color: #000000; font-weight: bold;">.</span>addTween<span style="color: #000000;">&#40;</span> fm_control_bar<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #000000;">&#123;</span> <span style="color: #004993;">alpha</span><span style="color: #000000; font-weight: bold;">:</span> 1<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">time</span><span style="color: #000000; font-weight: bold;">:</span> 0<span style="color: #000000; font-weight: bold;">.</span>5<span style="color: #000000; font-weight: bold;">,</span>		<span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">:</span> control_bar_y<span style="color: #000000; font-weight: bold;">,</span> transition<span style="color: #000000; font-weight: bold;">:</span> <span style="color: #009900;">&quot;easeInExpo&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #004993;">clearInterval</span><span style="color: #000000;">&#40;</span> fullscreen_interval <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		video_hit<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">removeEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">MOUSE_MOVE</span><span style="color: #000000; font-weight: bold;">,</span> on_mouse_move <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		fm_control_bar<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">removeEventListener</span><span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000000; font-weight: bold;">,</span> on_click_control <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> on_click_control<span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>	last_mouse_x<span style="color: #000000; font-weight: bold;">--;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> on_mouse_move<span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span> <span style="color: #000000; font-weight: bold;">!</span>mouse_visible <span style="color: #000000;">&#41;</span>	<span style="color: #000000;">&#123;</span>		<a target="_blank" href="http://www.google.com/search?q=mouse%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouse.html"><span style="color: #004993;">Mouse</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">show</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		mouse_visible = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span>		Tweener<span style="color: #000000; font-weight: bold;">.</span>addTween<span style="color: #000000;">&#40;</span> fm_control_bar<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #000000;">&#123;</span> <span style="color: #004993;">alpha</span><span style="color: #000000; font-weight: bold;">:</span> 1<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">time</span><span style="color: #000000; font-weight: bold;">:</span> 0<span style="color: #000000; font-weight: bold;">,</span>		<span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">:</span> <span style="color: #000000;">&#40;</span> control_bar_y <span style="color: #000000; font-weight: bold;">-</span> fm_control_bar<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">height</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">,</span> transition<span style="color: #000000; font-weight: bold;">:</span> <span style="color: #009900;">&quot;easeInExpo&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> detect_mouse<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span> last_mouse_x == <span style="color: #004993;">mouseX</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> last_mouse_y == <span style="color: #004993;">mouseY</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> mouse_visible <span style="color: #000000;">&#41;</span>	<span style="color: #000000;">&#123;</span>		<a target="_blank" href="http://www.google.com/search?q=mouse%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouse.html"><span style="color: #004993;">Mouse</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">hide</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		mouse_visible = <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000; font-weight: bold;">;</span>		Tweener<span style="color: #000000; font-weight: bold;">.</span>addTween<span style="color: #000000;">&#40;</span> fm_control_bar<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #000000;">&#123;</span> <span style="color: #004993;">alpha</span><span style="color: #000000; font-weight: bold;">:</span> 0<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">time</span><span style="color: #000000; font-weight: bold;">:</span> 1<span style="color: #000000; font-weight: bold;">,</span>		<span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">:</span> control_bar_y <span style="color: #000000; font-weight: bold;">+</span> fm_control_bar<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">height</span><span style="color: #000000; font-weight: bold;">,</span> transition<span style="color: #000000; font-weight: bold;">:</span> <span style="color: #009900;">&quot;easeOutExpo&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #000000;">&#125;</span>	last_mouse_x = <span style="color: #004993;">mouseX</span><span style="color: #000000; font-weight: bold;">;</span>	last_mouse_y = <span style="color: #004993;">mouseY</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> fm_netstat<span style="color: #000000;">&#40;</span> nse<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=netstatusevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:netstatusevent.html"><span style="color: #004993;">NetStatusEvent</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>	<span style="color: #0033ff; font-weight: bold;">switch</span><span style="color: #000000;">&#40;</span> nse<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">info</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">code</span> <span style="color: #000000;">&#41;</span>	<span style="color: #000000;">&#123;</span>		<span style="color: #0033ff; font-weight: bold;">case</span> <span style="color: #009900;">&quot;NetStream.Buffer.Full&quot;</span><span style="color: #000000; font-weight: bold;">:</span>		flashmo_buffer<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #0033ff; font-weight: bold;">break</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #0033ff; font-weight: bold;">case</span> <span style="color: #009900;">&quot;NetStream.Buffer.Empty&quot;</span><span style="color: #000000; font-weight: bold;">:</span>		flashmo_buffer<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #0033ff; font-weight: bold;">break</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #0033ff; font-weight: bold;">case</span> <span style="color: #009900;">&quot;NetStream.Play.Stop&quot;</span><span style="color: #000000; font-weight: bold;">:</span>		play_next_item<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #0033ff; font-weight: bold;">break</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> meta_data_handler<span style="color: #000000;">&#40;</span> info_object<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=object%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:object.html"><span style="color: #004993;">Object</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	video_duration = <a target="_blank" href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">round</span><span style="color: #000000;">&#40;</span> info_object<span style="color: #000000; font-weight: bold;">.</span>duration <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	total_min_sec = pad_zero<span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">floor</span><span style="color: #000000;">&#40;</span> video_duration <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight:bold;">60</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">+</span>	<span style="color: #009900;">&quot;:&quot;</span> <span style="color: #000000; font-weight: bold;">+</span> pad_zero<span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=math%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:math.html"><span style="color: #004993;">Math</span></a><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">floor</span><span style="color: #000000;">&#40;</span> video_duration <span style="color: #000000; font-weight: bold;">%</span> 60 <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> item_over<span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	<span style="color: #6699cc; font-weight: bold;">var</span> mc<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=movieclip%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:movieclip.html"><span style="color: #004993;">MovieClip</span></a> = <a target="_blank" href="http://www.google.com/search?q=movieclip%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:movieclip.html"><span style="color: #004993;">MovieClip</span></a><span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">target</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	current_no = <span style="color: #004993;">parseInt</span><span style="color: #000000;">&#40;</span> mc<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">name</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">slice</span><span style="color: #000000;">&#40;</span>14<span style="color: #000000; font-weight: bold;">,</span>16 <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	Tweener<span style="color: #000000; font-weight: bold;">.</span>addTween<span style="color: #000000;">&#40;</span> mc<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #000000;">&#123;</span> <span style="color: #004993;">alpha</span><span style="color: #000000; font-weight: bold;">:</span> 0<span style="color: #000000; font-weight: bold;">.</span>4<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">time</span><span style="color: #000000; font-weight: bold;">:</span> <span style="color: #000000; font-weight:bold;">0.4</span><span style="color: #000000; font-weight: bold;">,</span> transition<span style="color: #000000; font-weight: bold;">:</span><span style="color: #009900;">&quot;easeOutQuart&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> item_out<span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	<span style="color: #6699cc; font-weight: bold;">var</span> target_mc<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=movieclip%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:movieclip.html"><span style="color: #004993;">MovieClip</span></a> = <a target="_blank" href="http://www.google.com/search?q=movieclip%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:movieclip.html"><span style="color: #004993;">MovieClip</span></a><span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">target</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #6699cc; font-weight: bold;">var</span> mc<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=movieclip%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:movieclip.html"><span style="color: #004993;">MovieClip</span></a> = <a target="_blank" href="http://www.google.com/search?q=movieclip%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:movieclip.html"><span style="color: #004993;">MovieClip</span></a><span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">target</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">parent</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	current_no = <span style="color: #004993;">parseInt</span><span style="color: #000000;">&#40;</span> mc<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">name</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">slice</span><span style="color: #000000;">&#40;</span>14<span style="color: #000000; font-weight: bold;">,</span>16<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span> current_no <span style="color: #000000; font-weight: bold;">!</span>= flashmo_cpi <span style="color: #000000;">&#41;</span>	change_color<span style="color: #000000;">&#40;</span> mc<span style="color: #000000; font-weight: bold;">,</span> 0<span style="color: #000000; font-weight: bold;">,</span> 0<span style="color: #000000; font-weight: bold;">,</span> 0 <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #0033ff; font-weight: bold;">else</span>	change_color<span style="color: #000000;">&#40;</span> <a target="_blank" href="http://www.google.com/search?q=movieclip%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:movieclip.html"><span style="color: #004993;">MovieClip</span></a><span style="color: #000000;">&#40;</span> item_group<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">getChildAt</span><span style="color: #000000;">&#40;</span>flashmo_cpi<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">,</span> 18<span style="color: #000000; font-weight: bold;">,</span> 18<span style="color: #000000; font-weight: bold;">,</span> 18 <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>		Tweener<span style="color: #000000; font-weight: bold;">.</span>addTween<span style="color: #000000;">&#40;</span> target_mc<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #000000;">&#123;</span><span style="color: #004993;">alpha</span><span style="color: #000000; font-weight: bold;">:</span> 0<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">time</span><span style="color: #000000; font-weight: bold;">:</span> <span style="color: #000000; font-weight:bold;">0.4</span><span style="color: #000000; font-weight: bold;">,</span> transition<span style="color: #000000; font-weight: bold;">:</span> <span style="color: #009900;">&quot;easeOutQuart&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> item_click<span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	<span style="color: #6699cc; font-weight: bold;">var</span> mc<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=movieclip%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:movieclip.html"><span style="color: #004993;">MovieClip</span></a> = <a target="_blank" href="http://www.google.com/search?q=movieclip%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:movieclip.html"><span style="color: #004993;">MovieClip</span></a><span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">target</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">parent</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	current_no = <span style="color: #004993;">parseInt</span><span style="color: #000000;">&#40;</span> mc<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">name</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">slice</span><span style="color: #000000;">&#40;</span>14<span style="color: #000000; font-weight: bold;">,</span>16<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	flashmo_cpi = current_no<span style="color: #000000; font-weight: bold;">;</span>	play_item<span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">false</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> on_click_pause<span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>flashmo_play<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span>	fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>flashmo_pause<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000; font-weight: bold;">;</span>	Tweener<span style="color: #000000; font-weight: bold;">.</span>addTween<span style="color: #000000;">&#40;</span> big_play_button<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #000000;">&#123;</span> <span style="color: #004993;">alpha</span><span style="color: #000000; font-weight: bold;">:</span> 1<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">time</span><span style="color: #000000; font-weight: bold;">:</span> 0<span style="color: #000000; font-weight: bold;">.</span>4<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">scaleX</span><span style="color: #000000; font-weight: bold;">:</span> 1<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">scaleY</span><span style="color: #000000; font-weight: bold;">:</span> <span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000; font-weight: bold;">,</span> transition<span style="color: #000000; font-weight: bold;">:</span> <span style="color: #009900;">&quot;easeOutQuart&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	Tweener<span style="color: #000000; font-weight: bold;">.</span>addTween<span style="color: #000000;">&#40;</span> video_hit<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #000000;">&#123;</span> <span style="color: #004993;">alpha</span><span style="color: #000000; font-weight: bold;">:</span> 1<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">time</span><span style="color: #000000; font-weight: bold;">:</span> <span style="color: #000000; font-weight:bold;">0.4</span><span style="color: #000000; font-weight: bold;">,</span> transition<span style="color: #000000; font-weight: bold;">:</span> <span style="color: #009900;">&quot;easeOutQuart&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	item_paused = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span>	fm_ns<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">togglePause</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> on_click_play<span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>flashmo_pause<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000; font-weight: bold;">;</span>	fm_control_bar<span style="color: #000000; font-weight: bold;">.</span>flashmo_play<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000; font-weight: bold;">;</span>		<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span> fm_ns<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">time</span> == 0 <span style="color: #000000;">&#41;</span>	<span style="color: #000000;">&#123;</span>		fm_ns<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">play</span><span style="color: #000000;">&#40;</span> flashmo_item_list<span style="color: #000000;">&#91;</span>flashmo_cpi<span style="color: #000000;">&#93;</span><span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">url</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #000000;">&#125;</span>	<span style="color: #0033ff; font-weight: bold;">else</span>	<span style="color: #000000;">&#123;</span>		fm_ns<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">togglePause</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #000000;">&#125;</span>	item_paused = <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000; font-weight: bold;">;</span>	Tweener<span style="color: #000000; font-weight: bold;">.</span>addTween<span style="color: #000000;">&#40;</span> big_play_button<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #000000;">&#123;</span> <span style="color: #004993;">alpha</span><span style="color: #000000; font-weight: bold;">:</span> 0<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">time</span><span style="color: #000000; font-weight: bold;">:</span> 0<span style="color: #000000; font-weight: bold;">.</span>4<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">scaleX</span><span style="color: #000000; font-weight: bold;">:</span> 1<span style="color: #000000; font-weight: bold;">.</span>4<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">scaleY</span><span style="color: #000000; font-weight: bold;">:</span> <span style="color: #000000; font-weight:bold;">1.4</span><span style="color: #000000; font-weight: bold;">,</span> transition<span style="color: #000000; font-weight: bold;">:</span> <span style="color: #009900;">&quot;easeOutQuart&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span>	Tweener<span style="color: #000000; font-weight: bold;">.</span>addTween<span style="color: #000000;">&#40;</span> video_hit<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #000000;">&#123;</span> <span style="color: #004993;">alpha</span><span style="color: #000000; font-weight: bold;">:</span> 0<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">time</span><span style="color: #000000; font-weight: bold;">:</span> <span style="color: #000000; font-weight:bold;">0.4</span><span style="color: #000000; font-weight: bold;">,</span> transition<span style="color: #000000; font-weight: bold;">:</span> <span style="color: #009900;">&quot;easeOutQuart&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> on_click_next<span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	play_next_item<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> on_click_prev<span style="color: #000000;">&#40;</span> me<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	play_prev_item<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> play_next_item<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span> flashmo_cpi <span style="color: #000000; font-weight: bold;">&lt;</span> total_items <span style="color: #000000; font-weight: bold;">-</span> 1 <span style="color: #000000;">&#41;</span>	<span style="color: #000000;">&#123;</span>		flashmo_cpi<span style="color: #000000; font-weight: bold;">++;</span>	<span style="color: #000000;">&#125;</span>	<span style="color: #0033ff; font-weight: bold;">else</span>	<span style="color: #000000;">&#123;</span>		flashmo_cpi = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000000; font-weight: bold;">;</span>		flashmo_buffer<span style="color: #000000; font-weight: bold;">.</span>buffer_info<span style="color: #000000; font-weight: bold;">.</span><span style="color: #004993;">text</span> = <span style="color: #009900;">&quot;&quot;</span><span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #000000;">&#125;</span>	play_item<span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">false</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> play_prev_item<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span> flashmo_cpi <span style="color: #000000; font-weight: bold;">&gt;</span> 0 <span style="color: #000000;">&#41;</span>	flashmo_cpi<span style="color: #000000; font-weight: bold;">--;</span>	<span style="color: #0033ff; font-weight: bold;">else</span>	flashmo_cpi = total_items <span style="color: #000000; font-weight: bold;">-</span> <span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000; font-weight: bold;">;</span>		play_item<span style="color: #000000;">&#40;</span> <span style="color: #0033ff; font-weight: bold;">false</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> change_color<span style="color: #000000;">&#40;</span> mc<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=movieclip%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:movieclip.html"><span style="color: #004993;">MovieClip</span></a><span style="color: #000000; font-weight: bold;">,</span> r_offset<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=int%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:int.html"><span style="color: #004993;">int</span></a><span style="color: #000000; font-weight: bold;">,</span> g_offset<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=int%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:int.html"><span style="color: #004993;">int</span></a><span style="color: #000000; font-weight: bold;">,</span> b_offset<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=int%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:int.html"><span style="color: #004993;">int</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>	Tweener<span style="color: #000000; font-weight: bold;">.</span>addTween<span style="color: #000000;">&#40;</span> mc<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #000000;">&#123;</span>_color_redOffset<span style="color: #000000; font-weight: bold;">:</span> r_offset<span style="color: #000000; font-weight: bold;">,</span> _color_greenOffset<span style="color: #000000; font-weight: bold;">:</span> g_offset<span style="color: #000000; font-weight: bold;">,</span>	_color_blueOffset<span style="color: #000000; font-weight: bold;">:</span> b_offset<span style="color: #000000; font-weight: bold;">,</span> <span style="color: #004993;">time</span><span style="color: #000000; font-weight: bold;">:</span> <span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000; font-weight: bold;">,</span> transition<span style="color: #000000; font-weight: bold;">:</span> <span style="color: #009900;">&quot;easeOutExpo&quot;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span><span style="color: #339966; font-weight: bold;">function</span> pad_zero<span style="color: #000000;">&#40;</span> str_to_pad<span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=number%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:number.html"><span style="color: #004993;">Number</span></a> <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><a target="_blank" href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a><span style="color: #000000;">&#123;</span>	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span> str_to_pad <span style="color: #000000; font-weight: bold;">&lt;</span> 10 <span style="color: #000000;">&#41;</span>	<span style="color: #0033ff; font-weight: bold;">return</span> <span style="color: #009900;">&quot;0&quot;</span> <span style="color: #000000; font-weight: bold;">+</span> str_to_pad<span style="color: #000000; font-weight: bold;">;</span>	<span style="color: #0033ff; font-weight: bold;">else</span>	<span style="color: #0033ff; font-weight: bold;">return</span> <a target="_blank" href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/3/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a><span style="color: #000000;">&#40;</span> str_to_pad <span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">;</span><span style="color: #000000;">&#125;</span></div></div></pre>
</div></div>

]]></content:encoded>
			<category domain="http://www.flashfocus.nl/forum/forumdisplay.php?f=91">Flash ActionScript 3.0</category>
			<dc:creator>Guez</dc:creator>
			<guid isPermaLink="true">http://www.flashfocus.nl/forum/showthread.php?t=63688</guid>
		</item>
		<item>
			<title>Nieuwe website</title>
			<link>http://www.flashfocus.nl/forum/showthread.php?t=63687&amp;goto=newpost</link>
			<pubDate>Fri, 04 May 2012 17:26:31 GMT</pubDate>
			<description><![CDATA[Beste mensen, 
 
Zojuist heb ik mijn eerste "responsive" website afgerond. Ik ben benieuwd wat jullie ervan vinden! De url is www.jozefhendriks-schilderwerken.nl 
 
Alle feedback is welkom!]]></description>
			<content:encoded><![CDATA[<div>Beste mensen,<br />
<br />
Zojuist heb ik mijn eerste &quot;responsive&quot; website afgerond. Ik ben benieuwd wat jullie ervan vinden! De url is <a href="http://www.jozefhendriks-schilderwerken.nl" target="_blank">www.jozefhendriks-schilderwerken.nl</a><br />
<br />
Alle feedback is welkom!</div>

]]></content:encoded>
			<category domain="http://www.flashfocus.nl/forum/forumdisplay.php?f=13">Testcase</category>
			<dc:creator>geertjan_83</dc:creator>
			<guid isPermaLink="true">http://www.flashfocus.nl/forum/showthread.php?t=63687</guid>
		</item>
	</channel>
</rss>

