<?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; auto builds</title>
	<atom:link href="http://www.kizmorgan.com/tag/auto-builds/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>Autobuilds&#8230;rollout!</title>
		<link>http://www.kizmorgan.com/2009/04/22/autobuildsrollout/</link>
		<comments>http://www.kizmorgan.com/2009/04/22/autobuildsrollout/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 14:34:22 +0000</pubDate>
		<dc:creator>Kiz</dc:creator>
				<category><![CDATA[Keith Morgan's Blog]]></category>
		<category><![CDATA[teh internets]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[auto builds]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[jsfl]]></category>

		<guid isPermaLink="false">http://www.kizmorgan.com/?p=240</guid>
		<description><![CDATA[The art of auto building flash is a lost art.  Recently, I had to publish 19 Flash CS4 video players quickly and we weren&#8217;t prepared to port anything over to Flex.  I was pretty much screwed.
..so what the !#@$ is that supposed to mean?
After about 4 days of manual builds. I&#8217;d had enough. [...]]]></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>The art of auto building flash is a lost art.  Recently, I had to publish 19 Flash CS4 video players quickly and we weren&#8217;t prepared to port anything over to Flex.  I was pretty much screwed.</p>
<p>..so what the !#@$ is that supposed to mean?</p>
<p>After about 4 days of manual builds. I&#8217;d had enough.  I searched the interwebs for any signs of auto building Flash found out JSFL (JavaScriptFlash) for MX2004.  Well..Apparently its still supported in CS4 and I was able to piece together a jsfl file from examples from the web:</p>
<p>Create a new text document named &#8220;publish.jsfl&#8221; and add the following:</p>
<p><em><br />
fl.openDocument(&#8220;file:///&lt;path-to&gt;.fla&#8221;);<br />
curr_doc = fl.getDocumentDOM();<br />
curr_doc.publish();<br />
curr_doc.close();<br />
fl.quit(true);<br />
</em><br />
Save and simply run, assuming you&#8217;re in the same directory as the publish.jsfl file.<br />
<em>C:/Program Files/Adobe/Adobe Flash CS4/Flash.exe publish.jsfl</em></p>
<p>Well, once the build process was down to a few exe commands, I created a batch file (win32) to execute the exe&#8217;s.  But since we (and most people who have never used Windows before Win2000) use ant, I converted the build process:</p>
<p><em>&lt;property name=&#8221;publish.jsfl&#8221; value=&#8221;publish.jsfl&#8221;/&gt;<br />
&lt;property name=&#8221;flash&#8221; value=&#8221;C:/Program Files/Adobe/Adobe Flash CS4/Flash.exe&#8221;/&gt;<br />
&lt;exec executable=&#8221;${flash}&#8221;&gt;<br />
&lt;arg line=&#8221;&#8216;${publish.jsfl}&#8217;&#8221; /&gt;<br />
&lt;/exec&gt;</em></p>
<p>Be warned. using multiple jsfl files will open/close the application and may cause corruption in the swf&#8217;s.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kizmorgan.com/2009/04/22/autobuildsrollout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
