<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Apt 3 Studios</title>
	<atom:link href="http://apt3studios.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://apt3studios.wordpress.com</link>
	<description>The future of web technology.</description>
	<lastBuildDate>Tue, 27 Jul 2010 05:39:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='apt3studios.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Apt 3 Studios</title>
		<link>http://apt3studios.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://apt3studios.wordpress.com/osd.xml" title="Apt 3 Studios" />
	<atom:link rel='hub' href='http://apt3studios.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Flash, XNA and efficiency&#8230;</title>
		<link>http://apt3studios.wordpress.com/2010/07/27/flash-xna-and-efficiency/</link>
		<comments>http://apt3studios.wordpress.com/2010/07/27/flash-xna-and-efficiency/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 05:25:00 +0000</pubDate>
		<dc:creator>apt3studios</dc:creator>
				<category><![CDATA[Design Tips and Tricks]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://apt3studios.wordpress.com/?p=14</guid>
		<description><![CDATA[So today I had to work on some graphics for an XNA project we are are doing. Its a small project and some of the animations I had wanted to do would be way easier to create in Flash CS4 rather than going through the math equations to make them work in XNA. So I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=apt3studios.wordpress.com&amp;blog=14840175&amp;post=14&amp;subd=apt3studios&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div><a href="http://apt3studios.files.wordpress.com/2010/07/xna.jpg"><img class="size-thumbnail wp-image-16" title="xna" src="http://apt3studios.files.wordpress.com/2010/07/xna.jpg?w=150&#038;h=127" alt="" width="150" height="127" align="left" /></a><img class="size-thumbnail wp-image-17" title="cs" src="http://apt3studios.files.wordpress.com/2010/07/cs.png?w=150&#038;h=150" alt="" width="150" height="150" align="right" /></div>
<p>So today I had to work on some graphics for an XNA project we are are doing. Its a small project and some of the animations I had wanted to do would be way easier to create in Flash CS4 rather than going through the math equations to make them work in XNA. So I started the endeavor of adding Flash to an XNA programming project.</p>
<p>First off, XNA version 4 does not have a library suited to Flash (due out in version 5 in Fall!). So I had to find a way to do it myself. I found a few SWF implementations but they were rather lengthy to add and were outside the scope of the project. I didn&#8217;t want to spend 9/10&#8242;s of the time alotted just to implement swf&#8217;s, so I did a quick workaround.</p>
<p>First off, I made my Flash animations in CS4. Then I went ahead and found this nifty tool&#8230; <a title="magic swf2gif" href="http://www.effectmatrix.com/swf2gif/" target="_blank">Magic SWF2Gif</a>. I imported my freshly made SWF file chose the available file formats and it output all my animation into static images frame by frame. Now I have a folder full of images but I would like them to be in a different file format so now its time to fire up Photoshop. Using the actions panel I setup a  little automation script to &#8216;save as&#8217; the files and make them format as jpg and the quality I want. Save the script and batch process the folder and now the 250 individual frame by frame image files are all converted to the format I want to work with. Finally, I just import my images into my XNA project and setup code to run them as a sequence and now we have Flash into XNA, the quick and dirty method.</p>
<p>Now some pitfalls I found with Magic SWF2GIF is that you cant use nested movie clips within your animation or else SWF2GIF will get caught in the loops and export thousands of images. We don&#8217;t want that, so you have to manually loop any movie clip animation and it is best to animate within the main timeline itself. Also it is a bit fun to play with the frame rate settings for quick speed changes and to cut down the number of images output.</p>
<p>Now I COULD have spent hours implementing a real SWF into XNA, making spritesheets and just having XNA do the animation itself, however, what I needed was so small and so easy to make in Flash that this shaved a tremendous amount of time off of my development allowing me to focus on other aspects of the project = efficiency.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/apt3studios.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/apt3studios.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/apt3studios.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/apt3studios.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/apt3studios.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/apt3studios.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/apt3studios.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/apt3studios.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/apt3studios.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/apt3studios.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/apt3studios.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/apt3studios.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/apt3studios.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/apt3studios.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=apt3studios.wordpress.com&amp;blog=14840175&amp;post=14&amp;subd=apt3studios&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://apt3studios.wordpress.com/2010/07/27/flash-xna-and-efficiency/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/89a215927e8e88c6397f0db1d727f35f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">apt3studios</media:title>
		</media:content>

		<media:content url="http://apt3studios.files.wordpress.com/2010/07/xna.jpg?w=150" medium="image">
			<media:title type="html">xna</media:title>
		</media:content>

		<media:content url="http://apt3studios.files.wordpress.com/2010/07/cs.png?w=150" medium="image">
			<media:title type="html">cs</media:title>
		</media:content>
	</item>
		<item>
		<title>MooTools, CSS and the cool things that are possible! MOO :)</title>
		<link>http://apt3studios.wordpress.com/2010/07/23/mootools-css-and-the-cool-things-that-are-possible-moo/</link>
		<comments>http://apt3studios.wordpress.com/2010/07/23/mootools-css-and-the-cool-things-that-are-possible-moo/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 21:16:10 +0000</pubDate>
		<dc:creator>apt3studios</dc:creator>
				<category><![CDATA[Programming Tips and Tricks]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://apt3studios.wordpress.com/?p=9</guid>
		<description><![CDATA[MooTools has been around for quite some time now. And there are tons of nifty things you can do with it as well as tons of things other people have done with it that are free for download. If you take a look at the home page of the Apt 3 Studios website there are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=apt3studios.wordpress.com&amp;blog=14840175&amp;post=9&amp;subd=apt3studios&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a title="apt3studios, moo tools, Apt 3 Studios" href="http://http://mootools.net/" target="_blank">MooTools</a> has been around for quite some time now. And there are tons of nifty things you can do with it as well as tons of things other people have done with it that are free for download. If you take a look at the home page of the <a title="apt3studios, Apt 3 Studios" href="http://apt3studios.com">Apt 3 Studios</a> website there are a few MooTools things happening. So lets Moo it up for a bit <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>First is the drop down navigation. The smooth animated drop down is all MooTools. It is a highly modified version of <a title="Uvumi Tools dropdowns, Apt 3 Studios, apt3studios" href="http://http://uvumitools.com/dropdown.html" target="_blank">UvumiTools</a>. It gives you all the basic framework of a dropdown menu, all you have to do is do some customization of it with graphics and how you want it displayed.</p>
<p>Second is the content slider at the top of the page. This really cool content and image slider is a highly customized version of <a title="Slide it Moo slider, Apt 3 Studios, apt3studios, Nick Bagnoli" href="http://www.php-help.ro/mootools-12-javascript-examples/slideitmoo-v11-image-slider/" target="_blank">Slide it Moo</a>. This gives you everything you need to creat simple and complex slide animations with tons of expandability.</p>
<p>Now here is one issue that you have to watch out for with the MooTools javascript library. That home page also uses some jQuery operations on it as well, and unless you setup your scripting correctly MooTools and jQuery will not play nice together. So to make the two javascript libraries friends you have to wrap all your jQuery javascript code within the jQuery.noConflict(); option as well as renaming the standard ($) object name that jQuery and MooTools are both trying to modify.</p>
<p>You see in order to work, jQuery and MooTools creates an object (in this case &#8216;$&#8217; is usually what most of the scripts use) and then it uses its javascript functions to then modify that object while the code is running.  So when MooTools creates the &#8216;$&#8217; object, jQuery wants to overwrite the &#8216;$&#8217; in the running memory. The way around this is to rename the standard object and call to that object throughout the ENTIRE code for one of the scripts and then wrap that code in the jQuery.noConflict function. That way each javascript library has its own object to play with and instead of teaching the two to learn how to share, they each get their own shiny new object.</p>
<p>Now you can utilize functions of two libraries instead of one. Keep in mind this method is more resource intensive and it is always better to just use one library instead of two. However, its nice to be able to use both if you really want to make a web page &#8216;pop&#8217;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/apt3studios.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/apt3studios.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/apt3studios.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/apt3studios.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/apt3studios.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/apt3studios.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/apt3studios.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/apt3studios.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/apt3studios.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/apt3studios.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/apt3studios.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/apt3studios.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/apt3studios.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/apt3studios.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=apt3studios.wordpress.com&amp;blog=14840175&amp;post=9&amp;subd=apt3studios&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://apt3studios.wordpress.com/2010/07/23/mootools-css-and-the-cool-things-that-are-possible-moo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/89a215927e8e88c6397f0db1d727f35f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">apt3studios</media:title>
		</media:content>
	</item>
		<item>
		<title>Apt 3 Studios Blog</title>
		<link>http://apt3studios.wordpress.com/2010/07/23/apt-3-studios-blog/</link>
		<comments>http://apt3studios.wordpress.com/2010/07/23/apt-3-studios-blog/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 20:54:06 +0000</pubDate>
		<dc:creator>apt3studios</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://apt3studios.wordpress.com/?p=7</guid>
		<description><![CDATA[Hello, my name is Nick Bagnoli, I am the founder of Apt 3 Studios. Her I will be giving some tips and tricks that we use in everyday web programming to make life easier. As well as showcase emerging technologies in the web/development field. Hope you have great day and happy programming!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=apt3studios.wordpress.com&amp;blog=14840175&amp;post=7&amp;subd=apt3studios&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello, my name is Nick Bagnoli, I am the founder of Apt 3 Studios. Her I will be giving some tips and tricks that we use in everyday web programming to make life easier. As well as showcase emerging technologies in the web/development field. Hope you have great day and happy programming!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/apt3studios.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/apt3studios.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/apt3studios.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/apt3studios.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/apt3studios.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/apt3studios.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/apt3studios.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/apt3studios.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/apt3studios.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/apt3studios.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/apt3studios.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/apt3studios.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/apt3studios.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/apt3studios.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=apt3studios.wordpress.com&amp;blog=14840175&amp;post=7&amp;subd=apt3studios&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://apt3studios.wordpress.com/2010/07/23/apt-3-studios-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/89a215927e8e88c6397f0db1d727f35f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">apt3studios</media:title>
		</media:content>
	</item>
	</channel>
</rss>
