<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>kizmorgan.com - ..so what the !#@$ is that supposed to mean? &#187; chromeless player</title>
	<atom:link href="http://www.kizmorgan.com/tag/chromeless-player/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kizmorgan.com</link>
	<description>..so what the !#@$ is that supposed to mean?</description>
	<lastBuildDate>Tue, 16 Mar 2010 15:45:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>If google rules teh search, youtube rules teh vidz</title>
		<link>http://www.kizmorgan.com/2008/11/01/if-google-rules-teh-search-youtube-rules-teh-vidz/</link>
		<comments>http://www.kizmorgan.com/2008/11/01/if-google-rules-teh-search-youtube-rules-teh-vidz/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 02:43:29 +0000</pubDate>
		<dc:creator>Kiz</dc:creator>
				<category><![CDATA[personal vendettas]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[chromeless player]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[slide]]></category>
		<category><![CDATA[youtube API]]></category>

		<guid isPermaLink="false">http://www.kizmorgan.com/?p=137</guid>
		<description><![CDATA[So my new employer has a client that wants to implement the slide player API.  &#8220;No prob&#8221; I say, with confidence since I see that there is an AS3 version&#8230;.&#8221;It&#8217;s gotta plug right in if it&#8217;s written in AS3&#8230;&#8221;
Well&#8230;two days into it and I&#8217;m stumped.   I can get the slide video player to [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=1f25f9184b71d63b9873f9f5d92d4611&amp;default=http://www.kizmorgan.com/wp-content/themes/procut-1/images/avatar-sample.jpg' alt='No Gravatar' width=40 height=40/><p>So my new employer has a client that wants to implement the <a href="http://www.slide.com/funspace/developer/player">slide</a> player API.  &#8220;No prob&#8221; I say, with confidence since I see that there is an AS3 version&#8230;.&#8221;It&#8217;s gotta plug right in if it&#8217;s written in AS3&#8230;&#8221;</p>
<p>Well&#8230;two days into it and I&#8217;m stumped.   I can get the slide video player to load my AS3 chromeless player but cant get the stupid throbber to stop&#8230;.Read the API you say?  Well, its based on the youtube AS2 API and it contains an event listener that was listening for <em>onStateChange</em>.  There&#8217;s no !@#@! onStateChange in AS3!..and to add insult to injury, Google came up nada!</p>
<p>&#8230;so what the !@#$ is that supposed to mean?</p>
<p>Well, I finally read the fine print and figured out I needed to send event calls thru the root object ( in my case, a movieclip which the document class extended) when the video state changed:</p>
<p><em>switch (ns.state) {<br />
case &#8220;unstarted&#8221; :<br />
this.dispatchEvent(new Event(&#8220;onStateChange&#8221;,0));<br />
break;</em></p>
<p>&#8230;and voila!  All is well in the world&#8230;.for now&#8230;.I have a few more events to dispatch.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kizmorgan.com/2008/11/01/if-google-rules-teh-search-youtube-rules-teh-vidz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
