<?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>salomonsson.se</title>
	<atom:link href="http://salomonsson.se/feed" rel="self" type="application/rss+xml" />
	<link>http://salomonsson.se</link>
	<description></description>
	<lastBuildDate>Thu, 19 Jan 2012 13:58:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>On my way toward new adventures</title>
		<link>http://salomonsson.se/about/on-my-way-toward-new-adventures?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=on-my-way-toward-new-adventures</link>
		<comments>http://salomonsson.se/about/on-my-way-toward-new-adventures#comments</comments>
		<pubDate>Thu, 19 Jan 2012 13:56:07 +0000</pubDate>
		<dc:creator>Tommislav</dc:creator>
				<category><![CDATA[About me]]></category>
		<category><![CDATA[Blog posts]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://salomonsson.se/?p=507</guid>
		<description><![CDATA[I have left my position as flash developer on Isotop, and starting February 1st I will instead be joining Quickspin as Game Client Developer. I have been working on Isotop for over five years, and it has been a great &#8230; <a href="http://salomonsson.se/about/on-my-way-toward-new-adventures">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have left my position as flash developer on <a href="http://www.isotop.se">Isotop</a>, and starting February 1st I will instead be joining <a href="http://www.quickspin.se/">Quickspin</a> as Game Client Developer.</p>
<p>I have been working on Isotop for over five years, and it has been a great time. During that time I have been working with several large companies and projects such as TV4 and DICE. I have learned so much during this time, and I have gotten lots of great friends. I wish them all the best in the future.</p>
<p>Ahead of me I have some new and very exciting times, developing online gambling games. I&#8217;m sure it will be a great time, and I&#8217;m looking forward of being a part of Quickspin from such an early stage.</p>
<p>But before I start at my new job I have two weeks of free time (starting today). And that means I&#8217;ll be able to focus full time on Ripple Dot Zero.<br />
Exciting times ahead indeed.<br />
/Tommy</p>
]]></content:encoded>
			<wfw:commentRss>http://salomonsson.se/about/on-my-way-toward-new-adventures/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Abandoned: My Ludum Dare #21 Entry</title>
		<link>http://salomonsson.se/games/abandoned-ludum-dare-21-entry?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=abandoned-ludum-dare-21-entry</link>
		<comments>http://salomonsson.se/games/abandoned-ludum-dare-21-entry#comments</comments>
		<pubDate>Fri, 02 Sep 2011 22:56:33 +0000</pubDate>
		<dc:creator>Tommislav</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Ludum Dare]]></category>
		<category><![CDATA[pushbutton engine]]></category>

		<guid isPermaLink="false">http://salomonsson.se/?p=390</guid>
		<description><![CDATA[Play the game over at the ludum dare site. Note: This game was created as an entry for the 21:st Ludum Dare competition, where a game has to be created from scratch within 48 hours. All graphics, sounds and code &#8230; <a href="http://salomonsson.se/games/abandoned-ludum-dare-21-entry">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-391" title="abandonded_splash" src="http://media.salomonsson.se/2011/09/abandonded_splash.jpg" alt="Splash screen for Abandoned" width="505" height="298" /></p>
<p><strong><a href="http://www.ludumdare.com/compo/ludum-dare-21/?action=preview&amp;uid=2393">Play the game over at the ludum dare site</a></strong>.</p>
<p><em>Note: This game was created as an entry for the 21:st Ludum Dare competition, where a game has to be created from scratch within 48 hours. All graphics, sounds and code has to be created during this time, and every participant has to work alone (no teams). It is permitted to use existing frameworks and personal code libraries if these are declared and shared before the competition starts (I used a slightly modified version of the PushButton Engine). The theme for the competition was &#8220;Escape&#8221;.</em><span id="more-390"></span></p>
<p>When making my entry I wanted to make my game as creepy as possible. Since the theme was &#8216;Escape&#8217; I was going for a world you probably don&#8217;t want to stay in <img src='http://salomonsson.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
As art/design isn&#8217;t really my strongest side I went with the sketchy look. Its a style I call &#8220;Fulsnyggt&#8221;, when it looks so ugly that it actually looks good.</p>
<p>As game engine I used a framework called <a title="PushButton Engine" href="http://www.pushbuttonengine.com">PushButton Engine</a>. I&#8217;ve actually been curious about it for the past year but haven&#8217;t found the time to actually dive in to it (until now). The engine don&#8217;t seem to have any support for tiling/scrolling backgrounds, so I had to modify it a bit before the competition started, but luckily that&#8217;s allowed as long as you share the code before you start. I will give my impressions about PushButton Engine in another post, but briefly I have to say that I really love their component-based concept. Expect more on that topic!</p>
<p>To create the levels I used a bitmap, where I mapped a color to a specific tile. In that way I could just &#8220;draw&#8221; my levels in photoshop. This is the actual level (its pretty big), and each pixel is translated to a tile which is 32&#215;32 pixels.</p>
<div id="attachment_400" class="wp-caption alignnone" style="width: 405px"><img class="size-full wp-image-400" title="ld_level1" src="http://media.salomonsson.se/2011/09/ld_level11.gif" alt="" width="395" height="191" /><p class="wp-caption-text">The level file</p></div>
<p>&nbsp;</p>
<p>I have to say I&#8217;m satisfied I managed to get my entry submitted, given a completely new game engine, although I did create the level very late (just a few hours before the deadline) so the game did not really turn out the way I had in mind. The passages should have been a bit narrower and the enemies should shoot more often. As it turns out you can just simply fly past the enemies&#8230;</p>
<p>But it was a really fun competition, and I will definetly participate again!</p>
<p><em>Edit: The result from the competition was released today. It shows that my game got at an honorable <strong>98:th place</strong> (out of 509 entries).<br />
What was even more surprising to me was that the game was rated as number <strong>9 in the graphics category</strong>!!! :-O. Amazing!<br />
This has been really really fun, and I&#8217;m really looking forward to participate again!</em></p>
<p>This is the final result:</p>
<table>
<tbody>
<tr>
<td>#9</td>
<td>Graphics</td>
<td>4.35 / 5</td>
</tr>
<tr>
<td>#89</td>
<td>Community</td>
<td>3.20 / 5</td>
</tr>
<tr>
<td>#98</td>
<td>Overall</td>
<td>3.35 / 5</td>
</tr>
<tr>
<td>#142</td>
<td>Fun</td>
<td>3.00 / 5</td>
</tr>
<tr>
<td>#143</td>
<td>Humor</td>
<td>2.27 / 5</td>
</tr>
<tr>
<td>#166</td>
<td>Innovation</td>
<td>3.10 / 5</td>
</tr>
<tr>
<td>#183</td>
<td>Coolness</td>
<td>3%</td>
</tr>
<tr>
<td>#228</td>
<td>Theme</td>
<td>3.05 / 5</td>
</tr>
<tr>
<td>#371</td>
<td>Audio</td>
<td>1.00 / 5</td>
</tr>
</tbody>
</table>
<div id="attachment_392" class="wp-caption alignnone" style="width: 100px"><a href="http://media.salomonsson.se/2011/09/abandoned_img1.jpg"><img class="size-thumbnail wp-image-392 " title="abandoned_img1" src="http://media.salomonsson.se/2011/09/abandoned_img1-150x150.jpg" alt="" width="90" height="90" /></a><p class="wp-caption-text">Screen shot from the game (click to show)</p></div>
]]></content:encoded>
			<wfw:commentRss>http://salomonsson.se/games/abandoned-ludum-dare-21-entry/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My first go with XNA</title>
		<link>http://salomonsson.se/blogposts/my-first-go-with-xna?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=my-first-go-with-xna</link>
		<comments>http://salomonsson.se/blogposts/my-first-go-with-xna#comments</comments>
		<pubDate>Thu, 05 May 2011 19:04:34 +0000</pubDate>
		<dc:creator>Tommislav</dc:creator>
				<category><![CDATA[Blog posts]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://www.salomonsson.se/?p=304</guid>
		<description><![CDATA[I&#8217;ve been reading up on XNA quite a bit lately. And last weekend I was trying to make a game in it for the Ludume Dare #20 contest (where you get 48hrs to create a game from scratch). I did &#8230; <a href="http://salomonsson.se/blogposts/my-first-go-with-xna">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been reading up on XNA quite a bit lately. And last weekend I was trying to make a game in it for the Ludume Dare #20 contest (where you get 48hrs to create a game from scratch). I did not manage to create a good-enough game to submit during that time, but it sure as hell left me wanting more!<span id="more-304"></span></p>
<p>For those of you who don&#8217;t know what XNA is: its a framework for making games, developed by Microsoft, and its main advantage is that you are able to deploy your game to the Windows, Xbox360 and Windows Phone 7 &#8211; platforms without having to maintain three different code bases&#8230; code once, deploy for all (of course you have to consider screen sizes, input methods and hardware, but they have really made it easy to do so!). And yeah, you use C# as your language =).</p>
<p>Why is this so interesting? One word: JOYPAD!!! I would so much love to write a game where you played using your Xbox360 controller. It&#8217;s also easy to distribute your games on Xbox Live Arcade Indie-section (and at the same time make it available via STEAM on pc for all you non-xbox guys).</p>
<p>So, here is a really crappy video of me starting the game on the xbox (and showing the same game on my PC). I will try to upload a better video very soon!<br />
/Tommy</p>
<p><iframe src="http://www.youtube.com/embed/NbvYBoIWDlU" frameborder="0" width="425" height="349"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://salomonsson.se/blogposts/my-first-go-with-xna/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first iPhone app</title>
		<link>http://salomonsson.se/mobile-dev/my-first-iphone-app?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=my-first-iphone-app</link>
		<comments>http://salomonsson.se/mobile-dev/my-first-iphone-app#comments</comments>
		<pubDate>Sun, 21 Nov 2010 17:46:53 +0000</pubDate>
		<dc:creator>Tommislav</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://www.salomonsson.se/?p=294</guid>
		<description><![CDATA[We had a iPhone app-dev night at the office (isotop) last wednsday (17/11 -2010), where we were guided by our iPhone app guru Eric N. This is the result from that evening.]]></description>
			<content:encoded><![CDATA[<p>We had a iPhone app-dev night at the office (<a href="http://www.isotop.se/">isotop</a>) last wednsday (17/11 -2010), where we were guided by our iPhone app guru Eric N. This is the result from that evening.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/7WmYB3CqP2E?fs=1&amp;hl=sv_SE"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/7WmYB3CqP2E?fs=1&amp;hl=sv_SE" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://salomonsson.se/mobile-dev/my-first-iphone-app/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git Cheat Sheet</title>
		<link>http://salomonsson.se/tutorials/git-cheat-sheet?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=git-cheat-sheet</link>
		<comments>http://salomonsson.se/tutorials/git-cheat-sheet#comments</comments>
		<pubDate>Fri, 05 Nov 2010 20:21:51 +0000</pubDate>
		<dc:creator>Tommislav</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://www.salomonsson.se/?p=279</guid>
		<description><![CDATA[I&#8217;m pretty experienced with svn, but I&#8217;m a total newbie to git &#8211; and having some problem remembering the all the command-line syntax, so I&#8217;ll use this page as a cheat sheet. Feel free to bookmark =) ## Checkout ## &#8230; <a href="http://salomonsson.se/tutorials/git-cheat-sheet">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m pretty experienced with svn, but I&#8217;m a total newbie to git &#8211; and having some problem remembering the all the command-line syntax, so I&#8217;ll use this page as a cheat sheet. Feel free to bookmark =)<span id="more-279"></span></p>
<p><strong>## Checkout ##</strong><br />
You might need to add your public ssh-key to the repository (~/.ssh/id_rsa.pub)<br />
<code>git clone {url} [folder]</code></p>
<p>Check the url to the current repository:<br />
<code>git remote -v</code></p>
<p><strong>## Adding, committing, rolling back ##</strong></p>
<p>Add all removed files to your staging area<br />
<code>git add -u</code></p>
<p>Add all changed files to your staging area, both added, changed and deleted<br />
<code>git add -A</code></p>
<p>Revert to your previous commit<br />
<code>git reset HEAD^</code></p>
<p>Revert all files to the state of the last commit. Unstaged files will be lost!<br />
<code>git reset --hard</code></p>
<p>Compare your commited files to the files on a remote:<br />
<code>git log origin/master..HEAD --name-only --pretty=oneline</code></p>
<p><strong>## Brancing ##</strong><br />
<code>git fetch [remoteName]</code> (will download all branches into special read-only branches called [remoteName/branchName], you&#8217;ll need to merge manually)</p>
<p>Get list of remote branches<br />
<code>git branch -r</code> (or -a to list both remotes and local branches)</p>
<p>Create a new branch that tracks remote branch &#8220;origin/dev&#8221;<br />
<code>git branch -t [localBranchName] [remoteBranchName]</code> (e.g. git branch -t dev origin/dev)</p>
<p>Make an existing branch track a remote branch<br />
<code>git checkout {yourBranchName}<br />
git branch --set-upstream "origin/dev"</code></p>
<p>Get a list of all branches, and see which branch is tracked to which remote branch<br />
<code>git branch -vv</code></p>
<p>If you create a new local branch, and wish to add it as a remote branch on your server (or github). The -u flag makes your local branch track the new remote branch.<br />
<code>git push -u {remote-name} {local-branch-name}</code><br />
Where the remote-name probably is &#8220;origin&#8221;. You can set the remote branch name to something other than your local name with:<br />
<code>git push {remote-name} {local-branch-name}:{remote-branch-name}</code></p>
<p><strong>## Logging ##</strong><br />
If you need to see which files were modified for each commit:<br />
<code>git log --name-only</code> (exit list with &#8220;Q&#8221;)</p>
<p>If you also want to know what the modification for the file was:<br />
<code>git log --name-status</code></p>
<p>To only see the last three (change the number to any number you want):<br />
<code> git log -3</code></p>
]]></content:encoded>
			<wfw:commentRss>http://salomonsson.se/tutorials/git-cheat-sheet/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error reading xml attribute when migrating from flex SDK 3 to 4.1</title>
		<link>http://salomonsson.se/blogposts/error-reading-xml-attribute-when-migrating-from-flex-sdk-3-to-4-1?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=error-reading-xml-attribute-when-migrating-from-flex-sdk-3-to-4-1</link>
		<comments>http://salomonsson.se/blogposts/error-reading-xml-attribute-when-migrating-from-flex-sdk-3-to-4-1#comments</comments>
		<pubDate>Mon, 04 Oct 2010 18:49:18 +0000</pubDate>
		<dc:creator>Tommislav</dc:creator>
				<category><![CDATA[Blog posts]]></category>
		<category><![CDATA[actionscript]]></category>

		<guid isPermaLink="false">http://www.salomonsson.se/?p=258</guid>
		<description><![CDATA[I have been struggling with several migration issues when going from flexSDK 3.2 to 4.1. This is another strange one. [as3] // declare xml var xmlList:XMLList = new XMLList( &#8216; &#8216;); // Example 1 var name:String = &#8220;SimpleRectangle&#8221;; trace( xmlList.(@xmlElement &#8230; <a href="http://salomonsson.se/blogposts/error-reading-xml-attribute-when-migrating-from-flex-sdk-3-to-4-1">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have been struggling with several migration issues when going from flexSDK 3.2 to 4.1. This is another strange one.<span id="more-258"></span></p>
<p>[as3]<br />
// declare xml<br />
var xmlList:XMLList = new XMLList( &#8216;<flashlet xmlElement="SimpleSprite" type="f3.ui.SimpleSprite" /><br />
<flashlet xmlElement="SimpleRectangle" type="f3.ui.SimpleRectangle" /><br />
<flashlet xmlElement="DebugFlashlet" type="f3.ui.DebugFlashlet" initWait="3000" />&#8216;);</p>
<p>// Example 1<br />
var name:String = &#8220;SimpleRectangle&#8221;;<br />
trace( xmlList.(@xmlElement == name ).toXMLString() );// nothing</p>
<p>// Example 2<br />
var temp:String = &#8220;SimpleRectangle&#8221;;<br />
trace( xmlList.(@xmlElement == temp ).toXMLString() );// works<br />
[/as3]</p>
<p>First example worked in flexSDK 3.x, but stopped working when compiling with flexSDK 4.1. Changing the variable name seemed to do the trick&#8230;?!?</p>
]]></content:encoded>
			<wfw:commentRss>http://salomonsson.se/blogposts/error-reading-xml-attribute-when-migrating-from-flex-sdk-3-to-4-1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silver medal at Android Hackathon</title>
		<link>http://salomonsson.se/mobile-dev/silver-medal-at-android-hackathon?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=silver-medal-at-android-hackathon</link>
		<comments>http://salomonsson.se/mobile-dev/silver-medal-at-android-hackathon#comments</comments>
		<pubDate>Wed, 15 Sep 2010 18:31:00 +0000</pubDate>
		<dc:creator>Tommislav</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[retro]]></category>

		<guid isPermaLink="false">http://www.salomonsson.se/?p=261</guid>
		<description><![CDATA[I participated in Android Hackathon this weekend, where the goal was to build a game for an Android phone in one day &#8211; and the theme was retro (8-16 bits). My plan was to make a game similar to Metro &#8230; <a href="http://salomonsson.se/mobile-dev/silver-medal-at-android-hackathon">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I participated in Android Hackathon this weekend, where the goal was to build a game for an Android phone in one day &#8211; and the theme was retro (8-16 bits).</p>
<p>My plan was to make a game similar to Metro Siberia since I think that it fits very well on a phone with only a touch screen. Limited time and limited experience with Android forced me to abandon my plan of using &#8216;real&#8217; levels and instead use randomly generated ones.</p>
<p>Still it turned out to be pretty good, and was voted as the second best game in the competition! This was even more honorable since the other entries were very well made and the competition was really hard.<br />
Thanks everyone who participated, and thanks to Bwin, Stockholm Google Technology User Group for arranging such a great compo!</p>
<p>My entry (filmed with a crappy camera). Music is made by Simon Stålenhag and taken (with his permission) from our common hobby project Ripple Dot Zero.</p>
<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/5LNtd0CdXlM?fs=1&amp;hl=en_US&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/5LNtd0CdXlM?fs=1&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://salomonsson.se/mobile-dev/silver-medal-at-android-hackathon/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Android Hackathon 2010</title>
		<link>http://salomonsson.se/mobile-dev/android-hackathon-2010?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=android-hackathon-2010</link>
		<comments>http://salomonsson.se/mobile-dev/android-hackathon-2010#comments</comments>
		<pubDate>Fri, 10 Sep 2010 20:26:57 +0000</pubDate>
		<dc:creator>Tommislav</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[retro]]></category>

		<guid isPermaLink="false">http://www.salomonsson.se/?p=259</guid>
		<description><![CDATA[I will attend to Android Hackathon tomorrow (11/9), where the task is to create a retro-inspired game for Android in one day. I will broadcast a live stream for the entire day at http://www.ustream.tv/channel/tommislav so check it out =)]]></description>
			<content:encoded><![CDATA[<p>I will attend to Android Hackathon tomorrow (11/9), where the task is to create a retro-inspired game for Android in one day.<br />
I will broadcast a live stream for the entire day at <a href="http://www.ustream.tv/channel/tommislav">http://www.ustream.tv/channel/tommislav</a> so check it out =)</p>
]]></content:encoded>
			<wfw:commentRss>http://salomonsson.se/mobile-dev/android-hackathon-2010/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedded fonts disappear when updating to FlexSDK 4.1</title>
		<link>http://salomonsson.se/blogposts/embedded-fonts-disappear-when-updating-to-flexsdk-4-1?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=embedded-fonts-disappear-when-updating-to-flexsdk-4-1</link>
		<comments>http://salomonsson.se/blogposts/embedded-fonts-disappear-when-updating-to-flexsdk-4-1#comments</comments>
		<pubDate>Sat, 31 Jul 2010 11:49:11 +0000</pubDate>
		<dc:creator>Tommislav</dc:creator>
				<category><![CDATA[Blog posts]]></category>
		<category><![CDATA[actionscript]]></category>

		<guid isPermaLink="false">http://www.salomonsson.se/?p=240</guid>
		<description><![CDATA[I recently updated my flex SDK to 4.1, (from 3.x) just to find that all my embedded fonts were missing. This was the scenario: * Embedding fonts using the [Embed] meta tag * Applying font using TextFormat (don&#8217;t know what &#8230; <a href="http://salomonsson.se/blogposts/embedded-fonts-disappear-when-updating-to-flexsdk-4-1">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently updated my flex SDK to 4.1, (from 3.x) just to find that all my embedded fonts were missing.</p>
<p>This was the scenario:</p>
<ul>
<li>* Embedding fonts using the [Embed] meta tag</li>
<li>* Applying font using TextFormat (don&#8217;t know what happens if you use CSS, my guess is that it won&#8217;t work either)</li>
</ul>
<p><br/></p>
<h2>Quick fix: note the &#8220;embedAsCFF&#8221;</h2>
<p><code>[Embed(source="font.ttf", fontFamily="x", mimeType="application/x-font", <strong>embedAsCFF="false"</strong>)]<br />
public var FontClass:Class;</code><br />
<br/><br/></p>
<h2>What is this?</h2>
<p>I used the <code>Font.enumerateFonts()</code> to get an array of my embedded fonts (my font was there, but still not visible in my textfield).<br />
Check the <code>fontType</code>-property. Here I found that it was &#8220;embeddedCFF&#8221; instead of &#8220;embedded&#8221;. What is the difference?</p>
<p><strong>&#8220;embeddedCFF&#8221;</strong> is a bit more lightweight, but can only be used with the new text engine (flash.text.engine.*).<br />
<strong>&#8220;embedded&#8221;</strong> is an embedded font, but can only be used with the older flash.text.TextField.</p>
<p>Since the SDK 4.1 it seems like fonts are embedded as CFF by default, which breaks all the fonts in TextFields if you have coded with an earlier SDK before.</p>
<p>Docs about this: <a href="http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/text/FontType.html">Livedocs about FontType</a>.</p>
<p>Hope this helps. Good luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://salomonsson.se/blogposts/embedded-fonts-disappear-when-updating-to-flexsdk-4-1/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>When Dreams Come True</title>
		<link>http://salomonsson.se/blogposts/when-dreams-come-true?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=when-dreams-come-true</link>
		<comments>http://salomonsson.se/blogposts/when-dreams-come-true#comments</comments>
		<pubDate>Mon, 28 Jun 2010 20:24:34 +0000</pubDate>
		<dc:creator>Tommislav</dc:creator>
				<category><![CDATA[Blog posts]]></category>
		<category><![CDATA[retro]]></category>
		<category><![CDATA[sonic]]></category>

		<guid isPermaLink="false">http://www.salomonsson.se/?p=235</guid>
		<description><![CDATA[People who knows me know I&#8217;m a big fan of Sonic The Hedgehog. I still remember very clearly exactly how I felt the first time I saw Sonic the hedgehog on my friends tv screen. I was eleven years old &#8230; <a href="http://salomonsson.se/blogposts/when-dreams-come-true">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>People who knows me know I&#8217;m a big fan of Sonic The Hedgehog. I still remember very clearly exactly how I felt the first time I saw Sonic the hedgehog on my friends tv screen. I was eleven years old and the graphics was like nothing I&#8217;ve ever seen before, it was crisp like a cartoon.</p>
<p>And now I&#8217;m excited again. I have just learned that some of the songs, especially &#8220;Star Light Zone&#8221; &#8211; one of my favorite Sonic level songs of all time &#8211; is actually based on a song by a Japanese pop group named &#8220;Dreams Come True&#8221;. This was totally new information for me, and hearing my old favorite tune with lyrics just gives me the biggest smile =D</p>
<p>So I just thought I should share my new joyous discovery! You can read more about the connection between Dreams Come True and Sonic in this article: <a href="http://info.sonicretro.org/DREAMS_COME_TRUE">http://info.sonicretro.org/DREAMS_COME_TRUE</a> or watch the youtube clip right below! Enjoy!!<br />
/Tommy</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/GLgrwKvzPOE&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GLgrwKvzPOE&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>   </p>
]]></content:encoded>
			<wfw:commentRss>http://salomonsson.se/blogposts/when-dreams-come-true/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

