<?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>Bodie Leonard &#187; Flash CS4</title>
	<atom:link href="http://bodieleonard.com/tag/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://bodieleonard.com</link>
	<description>click, listen, learn, play interactive web</description>
	<lastBuildDate>Fri, 04 Sep 2009 16:39:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CS4 Flash shared libraries time saver</title>
		<link>http://bodieleonard.com/cs4-flash-shared-libraries-time-saver/</link>
		<comments>http://bodieleonard.com/cs4-flash-shared-libraries-time-saver/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 19:21:38 +0000</pubDate>
		<dc:creator>Bodie Leonard</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Flash CS4]]></category>
		<category><![CDATA[time saver]]></category>

		<guid isPermaLink="false">http://bodieleonard.com/?p=337</guid>
		<description><![CDATA[I am always working on large scale sites in flash and I work with creatives that have a tendency to change their mind every once in a while  . I needed to come up with a quick solution to change assets quickly across an entire site. Some sites can have at least 20 or [...]]]></description>
			<content:encoded><![CDATA[<p>I am always working on large scale sites in flash and I work with creatives that have a tendency to change their mind every once in a while <img src='http://bodieleonard.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . I needed to come up with a quick solution to change assets quickly across an entire site. Some sites can have at least 20 or more different swf&#8217;s and it is way too time consuming to go into each fla library and change that asset.  So I started working with shared libraries.</p>
<h1>Why have I missed out on this for so long?</h1>
<p>Shared libraries are very easy to setup and save soo much time. Here is how I setup my shared libraries.</p>
<ol>
<li>Create an .fla that will hold all shared assets for instance sharring an arrow button.<br />
<img class="alignright size-full wp-image-340" title="picture-1" src="http://bodieleonard.com/wp-content/uploads/2009/08/picture-1.png" alt="picture-1" width="184" height="145" /></li>
<li>Create the arrow button then convert that arrow into a movie clip symbol and <strong>Linkage</strong> it to any <strong>Class</strong> com.Arrows.</li>
<li>Then in <strong>Sharing</strong> <strong>check</strong> <strong>Export for runtime sharing</strong> and then input the url where the swf will be published.</li>
<li>Next create the .fla to where you want to import the shared object.</li>
<li>Create an empty movieclip that will import the shared object with these properties. <strong>Linkage</strong> the <strong>Class</strong> that was used before com.Arrows then in <strong>Sharing</strong> <strong>check</strong> <strong>Import for runtime sharing</strong> and in the <strong>URL</strong> put the path to the shared library swf.</li>
</ol>
<p>And that is it. You can now update any of your assets by opening the shared library.swf and BAM! your done.  Good luck.<br />
<img src="http://bodieleonard.com/wp-content/uploads/2009/08/pic_4.png" /><br />
<img src="http://bodieleonard.com/wp-content/uploads/2009/08/pic_3.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://bodieleonard.com/cs4-flash-shared-libraries-time-saver/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Click Here site has been launched</title>
		<link>http://bodieleonard.com/click-here-site-has-been-launched/</link>
		<comments>http://bodieleonard.com/click-here-site-has-been-launched/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 22:12:56 +0000</pubDate>
		<dc:creator>Bodie Leonard</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Flash CS4]]></category>
		<category><![CDATA[Online News]]></category>
		<category><![CDATA[Actionscript 3.0]]></category>
		<category><![CDATA[click here]]></category>

		<guid isPermaLink="false">http://bodieleonard.com/?p=193</guid>
		<description><![CDATA[Finally after many hours of flash development my coworker Corban Baxter and I have finally finished the Click Here website.  This is my first full blown website with Actionscript 3.0.
Developing this site I learned that you must error proof as you go or an end product will be a big roll of duck tape. [...]]]></description>
			<content:encoded><![CDATA[<p>Finally after many hours of flash development my coworker <a href="http://blog.projectx4.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/blog.projectx4.com');">Corban Baxter</a> and I have finally finished the <a href="http://www.clickhere.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.clickhere.com');">Click Here website</a>.  This is my first full blown website with <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/" onclick="javascript:pageTracker._trackPageview('/outbound/article/livedocs.adobe.com');">Actionscript 3.0</a>.<br />
Developing this site I learned that you must error proof as you go or an end product will be a big roll of <a href="http://duckproducts.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/duckproducts.com');">duck tape</a>.  </p>
<p>10 Useful tips in developing a large scale flash as3 site that is fully dynamic in every way possible.</p>
<ol>
<li>Start with <a href="http://www.asual.com/swfaddress/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.asual.com');">SWF Address</a> or <a href="http://www.gaiaflashframework.com/wiki/index.php?title=Leveraging_Deeplinks_and_SWFAddress" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.gaiaflashframework.com');">Gaia</a> and work your site around those frameworks for deeplinking.</li>
<li>Consistently check to make sure the flash doesn&#8217;t bog down the <a href="http://en.wikipedia.org/wiki/Processor" onclick="javascript:pageTracker._trackPageview('/outbound/article/en.wikipedia.org');">processor</a> and loading times are adequate</li>
<li>Use as many <a href="http://senocular.com/flash/actionscript.php?file=ActionScript_3.0/getURL.as" onclick="javascript:pageTracker._trackPageview('/outbound/article/senocular.com');">classes</a> as you can to cut down on repetitive functions</li>
<li>Make sure all a href=&#8221;" target=&#8221;_blank&#8221; links are not <a href="http://www.mehtanirav.com/2008/11/27/opening-external-links-in-new-window-from-as3" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.mehtanirav.com');">blocked by browser popup blockers</a> as you code to save headache at crunch time.</li>
<li>Disable all elements on stage that are not in the <a href="http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&#038;file=00001977.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/livedocs.adobe.com');">tabIndex</a> by tabEnabled = false;</li>
<li>Make sure you have all the <a href="http://ntt.cc/2008/03/29/the-list-of-helpful-flex-or-flash-debug-tools.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/ntt.cc');">up-to-date free debugging software</a>. <a href="http://www.sephiroth.it/firefox/flashtracer/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.sephiroth.it');">Flash Tracer</a> is great if your on <a href="http://www.mozilla.com/en-US/firefox/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.mozilla.com');">FireFox</a></li>
<li>Make sure you <a href="http://www.flashessential.com/archives/90" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.flashessential.com');">removeEventListeners</a> as you develop for <a href="http://www.gskinner.com/blog/archives/2006/06/as3_resource_ma.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.gskinner.com');">garbage collection</a></li>
<li>One object to rule them all.  If your loading in XML create an <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/Object.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/livedocs.adobe.com');">object={};</a> so you can call one central location to prevent player corruption down the road.</li>
<li>Instead of <a href="http://www.smithmediafusion.com/blog/?p=334" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.smithmediafusion.com');">for loops</a> everywhere try <a href="http://www.kirupa.com/forum/showthread.php?p=1923917" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.kirupa.com');">forEach()</a></li>
<li>Enjoy as3 and learn something new with every new project. Check out this very helpful <a href="http://www.automatastudios.com/2007/11/17/the-nooks-and-crannies-of-actionscript-3/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.automatastudios.com');">presentation by Branden Hall CTO &#038; Chief Sofware Architect at Automata Studios</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://bodieleonard.com/click-here-site-has-been-launched/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
