<?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>distriqt // labs &#187; flex</title>
	<atom:link href="http://labs.distriqt.com/tag/flex/feed" rel="self" type="application/rss+xml" />
	<link>http://labs.distriqt.com</link>
	<description>flash platform &#38; digital development australia</description>
	<lastBuildDate>Fri, 27 Jan 2012 00:24:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Zoos Victoria Conservation Mashups</title>
		<link>http://labs.distriqt.com/post/257</link>
		<comments>http://labs.distriqt.com/post/257#comments</comments>
		<pubDate>Fri, 30 Jul 2010 05:34:35 +0000</pubDate>
		<dc:creator>Michael Archbold</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[fuse]]></category>
		<category><![CDATA[mashups]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[xmlrpc]]></category>
		<category><![CDATA[zoos]]></category>

		<guid isPermaLink="false">http://labs.distriqt.com/?p=257</guid>
		<description><![CDATA[Our latest project for Zoos Victoria has gone live. Part of the FUSE (Find, Use, Share, Educate) portal that supports kids to explore and solve complex issues facing our society through the use of digital technology. Designed for school aged children to create a conservation based mashup video from a series of resources from the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flabs.distriqt.com%2Fpost%2F257"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.distriqt.com%2Fpost%2F257&amp;source=distriqt&amp;style=normal&amp;service=bit.ly&amp;service_api=R_d2c0f1a5509cd228ab0be545d628ad7a&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Our latest <a href="http://wild.zoo.org.au/mashups/">project</a> for Zoos Victoria has gone live. Part of the FUSE (Find, Use, Share, Educate) portal that supports kids to explore and solve complex issues facing our society through the use of digital technology. Designed for school aged children to create a conservation based mashup video from a series of resources from the FUSE portal.</p>
<p><a href="http://wild.zoo.org.au/mashups/"><img src="http://labs.distriqt.com/wordpress/wp-content/uploads/2010/07/zoosvictoria-videomashup-screenshot.jpg" alt="Conservation Mashups Gallery" title="Conservation Mashups Gallery" width="580" height="300" class="aligncenter size-full wp-image-292" /></a></p>
<p>The site was <a href="http://www.zoo.org.au/Melbourne/News_Events/Zoo_Digital_Learning">released yesterday</a> by the Victorian Education Minister, Hon. Bronwyn Pike MP.</p>
<blockquote><p>Unsustainable palm oil production in SE Asia is pushing orang-utans to extinction through loss of habitat. At the current rate of clearing the Orang-utan could be extinct within ten years. Kids can access a collection of video clips and images and use an online tool to ‘mash up' their own video to support the Zoo's Don't Palm us Off campaign. They can share videos in an online gallery.
</p></blockquote>
<p>Check out one of the user's mashups below:</p>
<div style="margin-left:100px">
<script type='text/javascript' src='http://wild.zoo.org.au/mashups/js/swfobject.js'></script>
<div id='mashupplayercontent' class="aligncenter"></div>
<p><script type='text/javascript'>var vars = {submissionid:'61', endpoint:'http://wild.zoo.org.au/mashups/silverback/', destination:'services/silverback/xmlrpc/'}; var params = { scale:'noScale', salign:'lt', menu:'false', allowFullScreen:'true', wmode:'none', allowScriptAccess: 'always', bgcolor: '' };var attributes = { id:'MashupPlayer', name:'MashupPlayer' };swfobject.embedSWF('http://wild.zoo.org.au/mashups/MashupPlayerStandalone.swf', 'mashupplayercontent', '365', '310', '9.0.115', 'http://wild.zoo.org.au/mashups/js/expressInstall.swf', vars, params, attributes );</script>
</div>
<p>The site was all built in AS3 using Flash Builder and integrated with a custom build of our content management system (a Flex and PHP-based XMLRPC server). The CMS provided a simple interface for the administrator to preview and approve the submitted mashups. It also included an AIR application build for desktop use, and a standalone version of the mashup player (as used above to show the mashup).</p>
<p>Check it out <a href="http://wild.zoo.org.au/mashups/">here</a>.</p>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://labs.distriqt.com/post/257"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://labs.distriqt.com/post/257/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Exisiting Project in Eclipse (Flex)</title>
		<link>http://labs.distriqt.com/post/209</link>
		<comments>http://labs.distriqt.com/post/209#comments</comments>
		<pubDate>Tue, 02 Feb 2010 23:38:06 +0000</pubDate>
		<dc:creator>Michael Archbold</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://labs.distriqt.com/?p=209</guid>
		<description><![CDATA[This one has been frustrating me for a while, I just wanted to open an actionscript project that we have in our svn into my workspace. Seemed like a simple concept, but I only recently discovered how to do it: Go to File > Import Select General > Existing Projects into Workspace Find your directory [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flabs.distriqt.com%2Fpost%2F209"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.distriqt.com%2Fpost%2F209&amp;source=distriqt&amp;style=normal&amp;service=bit.ly&amp;service_api=R_d2c0f1a5509cd228ab0be545d628ad7a&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This one has been frustrating me for a while, I just wanted to open an actionscript project that we have in our svn into my workspace.</p>
<p>Seemed like a simple concept, but I only recently discovered how to do it: </p>
<ul>
<li>Go to File > Import</li>
<li>Select General > Existing Projects into Workspace</li>
<li>Find your directory with your .project file and select finish</li>
</ul>
<p>Seems so simple now.</p>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://labs.distriqt.com/post/209"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://labs.distriqt.com/post/209/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 on the Command Line</title>
		<link>http://labs.distriqt.com/post/80</link>
		<comments>http://labs.distriqt.com/post/80#comments</comments>
		<pubDate>Wed, 01 Jul 2009 01:26:03 +0000</pubDate>
		<dc:creator>Michael Archbold</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://labs.distriqt.com/?p=80</guid>
		<description><![CDATA[As anyone who knows me would tell you, I live by the command line, so I thought I would share my newest trick to compile as3 applications from bash.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flabs.distriqt.com%2Fpost%2F80"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.distriqt.com%2Fpost%2F80&amp;source=distriqt&amp;style=normal&amp;service=bit.ly&amp;service_api=R_d2c0f1a5509cd228ab0be545d628ad7a&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>As anyone who knows me would tell you, I live by the command line, so I thought I would share an old trick to compile as3 applications from the command line in bash.</p>
<p>The trick here is to use the Flex SDK compiler which is available free from Adobe. It also requires having installed <a href="http://www.java.com/" target="_blank">java</a>, which is so common on most machines that I won't talk about installation.</p>
<p>The setup process is fairly simple:</p>
<ul>
<li>Grab Flex SDK: <a href="http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK" target="_blank">http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK</a> </li>
<li>Extract to a location, eg: <code>~/.flex</code></li>
<li>Make executable: <code>chmod +x ~/.flex/bin/compc ~/.flex/bin/mxmlc</code></li>
<li>Add the location to your path in .bashrc: <code>PATH=~/.flex/bin:"${PATH}"</code></li>
</ul>
<p>Once that's done you should be able to type <code>mxmlc</code> into the command line and see an error stating you must specify a target file. To compile an as3 file simply use the following:</p>
<pre><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">mxmlc main-app-file.as -o output.swf</div></li></ol></pre>
<p>Additionally I compile my libraries to my-libs.swc by doing the following:
</p>
<pre><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">compc -source-path . -include-sources . -output my-libs.swc</div></li></ol></pre>
<p>Since this is a flex compile you can also use flex syntax in your actionscript to embed resources in the code. Most commonly I use the swf definition line below to simply definite the frame rate and dimensions of the compiled output.
</p>
<pre><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">[SWF(width='990',height='680',backgroundColor='0x000000', frameRate='30')]</div></li></ol></pre>
<p><br/></p>
<hr/>
<br/></p>
<p>Now to use Flash CS3's V3 Components see this post: <a href="http://www.moock.org/blog/archives/000253.html" >moock.org</a></p>
<p>Additionally there are Eclipse tools for actionscript: <a href="http://www.kintespace.com/rasxlog/?p=784" >the rasx() context</a></p>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://labs.distriqt.com/post/80"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://labs.distriqt.com/post/80/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

