<?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>undefined-type &#187; productivity</title>
	<atom:link href="http://undefined-type.com/tag/productivity/feed/" rel="self" type="application/rss+xml" />
	<link>http://undefined-type.com</link>
	<description>Flex,Flash &#38; AIR</description>
	<lastBuildDate>Wed, 18 Nov 2009 09:48:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tip of the day: Publish Time &amp; Memory Increase</title>
		<link>http://undefined-type.com/2009/04/tip-of-the-day-publish-time-memory-increase/</link>
		<comments>http://undefined-type.com/2009/04/tip-of-the-day-publish-time-memory-increase/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 22:32:53 +0000</pubDate>
		<dc:creator>Bäcker</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[swc]]></category>

		<guid isPermaLink="false">http://undefined-type.com/?p=520</guid>
		<description><![CDATA[<script type="text/javascript" src="http://undefined-type.com/wp-includes/js/jquery/jquery.js"></script><script type="text/javascript" src="http://undefined-type.com/wp-content/plugins/pb-embedflash/js/sbadapter/shadowbox-jquery.js"></script><script type="text/javascript" src="http://undefined-type.com/wp-content/plugins/pb-embedflash/js/shadowbox.js"></script><script type="text/javascript"><!--
window.onload = function() {var options ={assetURL:'',loadingImage:'http://undefined-type.com/wp-content/plugins/pb-embedflash/css/images/loading.gif',flvPlayer:'http://undefined-type.com/wp-content/plugins/pb-embedflash/swf/mediaplayer.swf',animate:true,animSequence:'wh',overlayColor:'#000',overlayOpacity:0.85,overlayBgImage:'http://undefined-type.com/wp-content/plugins/pb-embedflash/css/images/overlay-85.png',listenOverlay:true,autoplayMovies:true,showMovieControls:true,resizeDuration:0.35,fadeDuration:0.35,displayNav:true,continuous:false,displayCounter:true,counterType:'default',viewportPadding:20,handleLgImages:'resize',initialHeight:160,initialWidth:320,enableKeys:true,keysClose:['c', 'q', 27],keysPrev:['p', 37],keysNext:['n', 39],handleUnsupported:'',text: {cancel:'Cancel',loading: 'loading',close:'<span class="shortcut">C</span>lose',next:'<span class="shortcut">N</span>ext',prev:'<span class="shortcut">P</span>revious',errors:{single: 'You must install the <a href="{0}">{1}</a> browser plugin to view this content.',shared: 'You must install both the <a href="{0}">{1}</a> and <a href="{2}">{3}</a> browser plugins to view this content.',either: 'You must install either the <a href="{0}">{1}</a> or the <a href="{2}">{3}</a> browser plugin to view this content.'}}};Shadowbox.init(options);}
--></script>At my company &#8220;Hello There&#8221; we are currently developing a really cool game that is built on the base of Papervision 3D 2.0 (Great White). We suddenly run into a really really annoying problem.
I could publish the Flash files without any complication but the other two team members couldn&#8217;t, and we have the same set [...]]]></description>
			<content:encoded><![CDATA[<p>At my company &#8220;Hello There&#8221; we are currently developing a really cool game that is built on the base of <a href="http://code.google.com/p/papervision3d/" target="_blank">Papervision 3D 2.0 (Great White)</a>. We suddenly run into a really really annoying problem.</p>
<p>I could publish the Flash files without any complication but the other two team members couldn&#8217;t, and we have the same set of workstations. After a lot of searching it seems somehow that it&#8217;s a memory problem and some suggestions points to changing JAVA memory, well, we didn&#8217;t get that to work either so we took another solution.</p>
<p>By making the Papervision package to a SWC file it&#8217;s already compiled and takes less memory for Flash. If you have a bigger framework you should as well take your time to create a SWC package for it. The publish time will decrease and your will be working happily ever after =)</p>
<p><strong>TIP: Use more SWC, will speed up your work &amp; use less memory.</strong></p>
<p>If you have Flex, here is an easy tutorial on how to create your SWC package.<br />
1.) Create a &#8220;Flex Library Project&#8221;.<br />
2.) Add your code that you want to compile.<br />
3.) Right click on the project, Properties-&gt;Flex Builder Path<br />
4.) Mark all the packages that you want to compile<br />
5.) Finish, just refresh the project to make sure everything is compiled when you change anything. The SWC file is placed in the /bin folder. Ready to use for Flex &amp; Flash.</p>
<p>Did a really short video;<br />
<small>(Please open the article to see the flash file or player.)</small>.</p>
]]></content:encoded>
			<wfw:commentRss>http://undefined-type.com/2009/04/tip-of-the-day-publish-time-memory-increase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XML in Production (lazy)</title>
		<link>http://undefined-type.com/2009/03/xml-in-production-lazy/</link>
		<comments>http://undefined-type.com/2009/03/xml-in-production-lazy/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 22:46:41 +0000</pubDate>
		<dc:creator>Bäcker</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[combine translation]]></category>
		<category><![CDATA[lazy]]></category>
		<category><![CDATA[production]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://undefined-type.com/?p=507</guid>
		<description><![CDATA[I&#8217;m working a lot with international sites and there can often be times where the deadlines are short, customers aren&#8217;t so fast as I wish they where with feedback e.g.
This often messes up translations with XML files. They needs to be resend for changes and as the sites takes interaction you can find that things [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working a lot with international sites and there can often be times where the deadlines are short, customers aren&#8217;t so fast as I wish they where with feedback e.g.</p>
<p>This often messes up translations with XML files. They needs to be resend for changes and as the sites takes interaction you can find that things are missing.</p>
<p>Here is a small tip if you are running out of time, make sure your XML structure is simple, as well make sure that you are using unique id attributes. Then you can just combine the XML files and you don&#8217;t really need to go thru hours of copy/paste work.</p>
<p>A small example.<br />
<strong>XML 1</strong><br />
&lt;xml&gt;<br />
&lt;gui&gt;<br />
&lt;item id=&#8221;replay&#8221;&gt;REPLAY&lt;/item&gt;<br />
&lt;item id=&#8221;start&#8221;&gt;START THE GAME&lt;/item&gt;<br />
&lt;/gui&gt;<br />
&lt;/xml&gt;</p>
<p><strong>XML 2</strong><br />
&lt;xml&gt;<br />
&lt;gui&gt;<br />
&lt;item id=&#8221;volumeOff&#8221;&gt;TURN ON VOLUME&lt;/item&gt;<br />
&lt;item id=&#8221;volumeOn&#8221;&gt;TURN OFF VOLUME&lt;/item&gt;<br />
&lt;/gui&gt;<br />
&lt;/xml&gt;</p>
<p>So what I do is just to add on and on and combine the XML;s.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">copy</span>:<span style="color: #0066CC;">XML</span> = levelLoader.<span style="color: #006600;">getXML</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;data/en.xml&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> copy1:<span style="color: #0066CC;">XML</span> = levelLoader.<span style="color: #006600;">getXML</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;data/en01.xml&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> copy2:<span style="color: #0066CC;">XML</span> = levelLoader.<span style="color: #006600;">getXML</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;data/en02.xml&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0066CC;">copy</span> = <span style="color: #0066CC;">copy</span>.<span style="color: #0066CC;">appendChild</span><span style="color: #66cc66;">&#40;</span>copy1.<span style="color: #66cc66;">*</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0066CC;">copy</span> = <span style="color: #0066CC;">copy</span>.<span style="color: #0066CC;">appendChild</span><span style="color: #66cc66;">&#40;</span>copy2.<span style="color: #66cc66;">*</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> volumeOff : <span style="color: #0066CC;">String</span> = <span style="color: #0066CC;">copy</span>.<span style="color: #006600;">gui</span>.<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">@</span>id==<span style="color: #ff0000;">&quot;volumeOff&quot;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://undefined-type.com/2009/03/xml-in-production-lazy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

