<?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>The Multimedia Ninja &#187; Flash</title>
	<atom:link href="http://themultimedianinja.com/?feed=rss2&#038;cat=14" rel="self" type="application/rss+xml" />
	<link>http://themultimedianinja.com</link>
	<description>New Media Demystified</description>
	<lastBuildDate>Mon, 13 Apr 2009 17:13:22 +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>Looping Progressive Video in Flash</title>
		<link>http://themultimedianinja.com/?p=19</link>
		<comments>http://themultimedianinja.com/?p=19#comments</comments>
		<pubDate>Tue, 03 Mar 2009 23:12:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://themultimedianinja.com/?p=19</guid>
		<description><![CDATA[OK, now this may seem like a simple process but it&#8217;s not if you don&#8217;t have the code.  I&#8217;m not a programmer there tough guy&#8230;don&#8217;t claim to be one, don&#8217;t want to ever be one&#8230;in fact, the less I program the happier I am.
The days of making apps without calling propeller heads who are [...]]]></description>
			<content:encoded><![CDATA[<p>OK, now this may seem like a simple process but it&#8217;s not if you don&#8217;t have the code.  I&#8217;m not a programmer there tough guy&#8230;don&#8217;t claim to be one, don&#8217;t want to ever be one&#8230;in fact, the less I program the happier I am.</p>
<p>The days of making apps without calling propeller heads who are typically socially hard to deal with, are over my friends (anyone remember Director?).</p>
<p>Yeah, I said it.  Now, don&#8217;t get me wrong, I love programmers&#8230;let me say that again, I love me some GOOD RELIABLE programmers.  Rare you say?  Well, yes actually.</p>
<p>But I hate depending on people, and also don&#8217;t like paying someone if I don&#8217;t have to.  Importing an FLV into Flash and saying &#8220;loop&#8221; shouldn&#8217;t be that hard, right?  I literally banged my head against the wall trying to figure it out but I&#8217;m here to tell all of you fine people how to do, to save the walls of the world, and the heads.</p>
<p>1. OK, first thing&#8217;s first Tiger.  Compress your video into FLV format.</p>
<p>2. Import it into your library, use &#8220;progressive&#8221;</p>
<p>3. Place it on your stage and name the instance &#8220;vid&#8221;</p>
<p>4. On the same frame, or on your &#8220;Actions&#8221; frame, add this code:</p>
<blockquote><p>var vidList : Object = new Object();<br />
vidList.complete = function() {<br />
vid.play();<br />
}<br />
vid.addEventListener (&#8220;complete&#8221;,vidList);<br />
stop();</p></blockquote>
<p>5. Save and publish.  Then commence the high-five tradition with the office.</p>
<p>_____</p>
<p>I use this technique for looping backgrounds, to online Flash banners. I hope it finds you well&#8230;..before insanity hits.</p>
<p>Good luck and may the force be with you young grasshopper!</p>
<p>&#8211;MN</p>
]]></content:encoded>
			<wfw:commentRss>http://themultimedianinja.com/?feed=rss2&amp;p=19</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
