<?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>Spil Games</title>
	<atom:link href="http://www.spilgames.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.spilgames.com</link>
	<description></description>
	<lastBuildDate>Mon, 14 May 2012 12:40:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Innovation Drives Growth in Online Advertising</title>
		<link>http://www.spilgames.com/innovation-drives-growth-in-online-advertising/</link>
		<comments>http://www.spilgames.com/innovation-drives-growth-in-online-advertising/#comments</comments>
		<pubDate>Mon, 14 May 2012 08:31:52 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Advertising]]></category>
		<category><![CDATA[advergames]]></category>
		<category><![CDATA[advertisers]]></category>
		<category><![CDATA[branding]]></category>
		<category><![CDATA[demographics]]></category>
		<category><![CDATA[online advertising]]></category>

		<guid isPermaLink="false">http://www.spilgames.com/?p=1862</guid>
		<description><![CDATA[
<p style="text-align: left;">Online ad spending in the UK increased by 14.4% in 2011, representing £687M additional spending.  ... </p><p><a class="readmore" href="http://www.spilgames.com/innovation-drives-growth-in-online-advertising/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="growth" src="http://twitpic.com/show/full/9kxm2l.jpg" alt="" width="225" height="224" /></p>
<p style="text-align: left;"><img class="alignright" style="color: #333333; font-style: normal; line-height: 24px; border-style: initial; border-color: initial; margin-top: 0.4em;" title="glossary" src="http://twitpic.com/show/full/9kxl0x.gif" alt="" width="158" height="267" />Online ad spending in the UK increased by 14.4% in 2011, representing £687M additional spending. According to the IAB and PwC advertising expenditure <a href="http://www.ukmediacentre.pwc.com/News-Releases/UK-INTERNET-ADSPEND-INCREASES-14-4-TO-4-8-BILLION-1220.aspx">report</a> released earlier this year, spending has increased across all forms of online advertising, including mobile, social media, and video.</p>
<p>The online channel’s growth is due to innovations in delivering branding messages through relevant and engaging content. Online content producers and domain owners are constantly working to provide richer experiences for users with greater cut-through. Mobile, social media, and video allow for consistent and pervasive campaigns, which invite users to interact with a brand or product in tailored ways. From delivering coupons in mobile formats so they can be used in-store, to piquing interest in a movie release through advergames, online marketing content offers communication and connections not possible through traditional media channels.</p>
<p>As a leading online content deliverer, Spil Games works closely with our advertising clients to create interactive campaigns, seamlessly integrating their brands with our gaming content for <a href="http://www.girlsgogames.co.uk/">girls</a>, <a href="http://www.games.co.uk/">family</a>, and <a href="http://www.agame.com/">teen</a> audiences. Our game platforms provide a wide variety of possibilities for user engagement beyond traditional ad formats.</p>
<p><strong>Online in Action</strong></p>
<p>In 2010, we worked with Universal Pictures to develop an online campaign to increase the engagement of specific demographics with their new release, <em>Despicable Me</em>.</p>
<p><img class="alignnone" title="despicable me" src="http://twitpic.com/show/full/9kxloo.jpg" alt="" width="531" height="354" /></p>
<p>The strategy combined floor ads and takeovers on our gaming sites with two advergames to introduce players to the movie characters. The floor ads generated a 12% click-through rate (versus an industry average of .2%) and 3.7M gameplays for the advergames. You can see the execution <a href="http://www.spilgames.com/advertisers/showcases">here</a>.</p>
<p>More and more of our clients are recognising the huge potential websites like ours have to connect to highly engaged consumers. Lately, Spil Games has seen spending grow in integrated content not specifically related to ads—avatar branding, for instance. Could this type of advertising be the next big thing? As it’s our job to continue to innovate and meet our clients’ needs, we’re in the process of finding out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.spilgames.com/innovation-drives-growth-in-online-advertising/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript bug in Internet Explorer 8 and older</title>
		<link>http://www.spilgames.com/javascript-bug-in-internet-explorer-8-and-older/</link>
		<comments>http://www.spilgames.com/javascript-bug-in-internet-explorer-8-and-older/#comments</comments>
		<pubDate>Mon, 07 May 2012 09:33:47 +0000</pubDate>
		<dc:creator>Erik Duindam</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.spilgames.com/?p=1847</guid>
		<description><![CDATA[
At Spil Games it&#8217;s all about games. We don&#8217;t just make games, we supply everything around games.  ... </p><p><a class="readmore" href="http://www.spilgames.com/javascript-bug-in-internet-explorer-8-and-older/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="altair" src="http://twitpic.com/show/full/9idvop.jpg" alt="" width="500" height="422" /></p>
<p>At Spil Games it&#8217;s all about games. We don&#8217;t just make games, we supply everything around games. Not only for ourselves, but also for other game development partners.</p>
<p>I work in the Payments Team, internally called <em>Team Altaïr</em> or <em>Scrum Altaïr</em>. Yes, I have an <em>Assassin&#8217;s Creed Altaïr</em> action figure on my desk. We have developed a payment service which can quite easily be integrated in games by our game development partners. We supply a fully localized global payment service, offering lots of international and local payment methods. This way games can offer in-game payments, so users can buy Cash, Gold, Dollars, Sheep – anything they need to keep playing.</p>
<p>About two months ago we released the new payment screen; as we call it: the payment selection screen. It shows a game&#8217;s available items to buy and the available payment methods for your country. All texts are translated to your language, all prices are in your local currency, and all payment methods are popular and local payment methods available in your country. Game developers can implement this screen by including a JavaScript file and calling one JavaScript function. We take care of the rest.</p>
<p><span id="more-1847"></span></p>
<h1> </h1>
<h1>The IError: Object doesn&#8217;t support this property or method</h1>
<p><a href="http://www.goodgamestudios.com/">Goodgame Studios</a> are a game partner of Spil&#8217;s. During their recent implementation of our new payment selection screen in a number of their games, they encountered a JavaScript error in Internet Explorer. After investigating the problem with our QA guys, it became clear that it occurred only in Internet Explorer up to version 8.</p>
<p>When we ran the Internet Explorer debugging tool by hitting F12, the debugger returned an error (&#8220;Object doesn&#8217;t support this property or method&#8221;) for the following line:</p>
<pre style="padding-left: 60px;"><span style="color: #808080;">head = document.head || document.getElementsByTagName( "head" )[0] ||</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">document.documentElement;</span></pre>
<p>This code gets the <span style="color: #808080;"><strong>head</strong></span> element from the document. This same code is also used by jQuery in the asynchronous AJAX method (which actually creates a <span style="color: #808080;"><strong>&lt;script&gt;</strong></span> element in the DOM tree).</p>
<p>Why was this working on all the Web sites that use our payment screen, but not on the Goodgame Studios site? And why was this working in any other browser but IE?</p>
<h1> </h1>
<h1>JavaScript&#8217;s global scope</h1>
<p>First of all, it&#8217;s important to understand the global scope of JavaScript. When you create an element in HTML, the element&#8217;s ID is added to the global variable scope of JavaScript.</p>
<p>Let&#8217;s create the following element in HTML:</p>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;div id="spil"&gt;&lt;/div&gt;</span></pre>
<p>In this case, the variable<span style="color: #808080;"> <strong>spil</strong></span> is in the global JavaScript scope.</p>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;script type="text/javascript"&gt; console.log(spil); &lt;/script&gt;</span></pre>
<p>This will actually print the<span style="color: #808080;"> <strong>div</strong></span> element in your console.</p>
<p>So, if you&#8217;ve got an element with <span style="color: #808080;"><strong>id=&#8221;head&#8221;</strong></span>, then the <span style="color: #808080;"><strong>head</strong></span> variable is already included in JavaScript. But this still shouldn&#8217;t be a problem if you look at our piece of code above, since we simply overwrite the <span style="color: #808080;"><strong>head</strong></span> variable.</p>
<h1> </h1>
<h1>Internet Explorer&#8217;s bug and the solution</h1>
<p>The question is: why does Internet Explorer throw an error on our line of code? The answer is simple: if there&#8217;s already a variable in JavaScript&#8217;s global scope created by an element with the same ID, then older Internet Explorer versions don&#8217;t allow you to overwrite it. Dumb IE just don&#8217;t get it.</p>
<p>The solution is also very simple: make sure the variable you&#8217;re assigning is not already included in the global scope. Use<span style="color: #808080;"> <strong>var head</strong><em> </em></span>inside a function or rename it if you can&#8217;t avoid global scope (which is often bad design). Even better: use an object with the property <span style="color: #808080;"><strong>this.head</strong><em>. </em></span>In this way you can&#8217;t possibly have issues with your variable scope.</p>
<h1> </h1>
<h1>Code example</h1>
<p>The following code will break in at least Internet Explorer 7 and 8. To keep it simple, I use the <span style="color: #808080;"><strong>onload</strong></span> attribute in the <span style="color: #808080;"><strong>body</strong></span> element, where I would normally use an event in JavaScript.</p>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;html&gt;</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;head&gt;</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;script type="text/javascript"&gt;</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">function foobar() {</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">head = 'foobar'; // error on IE7/IE8</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">}</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;/script&gt;</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;/head&gt;</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;body onload="foobar()"&gt;</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;div id="head"&gt;&lt;/div&gt;</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;/body&gt;</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;/html&gt;</span></pre>
<h2> </h2>
<h2>Code example fix</h2>
<p>The following code will work in any browser:</p>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;html&gt;</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;head&gt;</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;script type="text/javascript"&gt;</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">function foobar() {</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">var head = 'foobar'; // fine</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">}</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;/script&gt;</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;/head&gt;</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;body onload="foobar()"&gt;</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;div id="head"&gt;&lt;/div&gt;</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;/body&gt;</span></pre>
<pre style="padding-left: 60px;"><span style="color: #808080;">&lt;/html&gt;</span></pre>
<h1> </h1>
<h1>Our case</h1>
<p>In our case we only needed to add the <span style="color: #808080;"><strong>var</strong></span> construct to the variable, as shown in the proof of concept above. There was no reason to use the global variable scope. The Goodgame Studios Web site probably had an HTML element with<span style="color: #808080;"> <strong>id=&#8221;head&#8221;</strong></span>. Complex problem, simple solution. Just the way I like it.<br /> </p>
<h1>Lessons learned </h1>
<ol>
<li>Always take good care of your JavaScript variable scope.</li>
<li>Don&#8217;t trust old Internet Explorer versions to behave the way you expect them to!</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.spilgames.com/javascript-bug-in-internet-explorer-8-and-older/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spil Games Employee Under the Spotlight</title>
		<link>http://www.spilgames.com/spil-games-employee-under-the-spotlight/</link>
		<comments>http://www.spilgames.com/spil-games-employee-under-the-spotlight/#comments</comments>
		<pubDate>Fri, 04 May 2012 15:06:15 +0000</pubDate>
		<dc:creator>Gina</dc:creator>
				<category><![CDATA[Inside Spil]]></category>

		<guid isPermaLink="false">http://www.spilgames.com/?p=1841</guid>
		<description><![CDATA[
Standing out is a core value here at Spil Games and Sander Uittenbosch is a great example  ... </p><p><a class="readmore" href="http://www.spilgames.com/spil-games-employee-under-the-spotlight/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="Sander" src="http://www.twitpic.com/show/full/9h7in5.jpg" alt="" width="560" height="280" /></p>
<p>Standing out is a core value here at Spil Games and Sander Uittenbosch is a great example of this in action. Not only is he a Content Marketeer in the Channel Management team at Spil Games, but he’s also a great example of someone who is not afraid to stand out when he’s not in the office.</p>
<p>Sander will be participating in the Alpe d’HuZes event in France on the 6th of June 2012 .</p>
<p>This event raises money for cancer research and involves biking up the famous Alpe d’Huez mountain. Participants ride up the mountain as many times as possible (up to 6 times!) in one day.</p>
<p>With every lap being 15 kilometers, this is a seemingly impossible task. However, from 2006 to 2011 many determined people have managed to do this, including some (recovered) cancer patients.</p>
<p>Sander’s inspiration to participate in this is personal.  He and his girlfriend experienced firsthand the tragedy of cancer when her mother lost a battle with the disease in 2004 Participating in this event is Sander’s way to stand out and help contribute to cancer research, in the hope that a cure will be developed some day.</p>
<p>At the moment his team is in training to ensure they can ride up the mountain as many times as possible. You can have look at Sander’s <a href="http://deelnemers.alpe-dhuzes.nl/acties/suittenbosch/sander-uittenbosch/">personal action page</a> (the website is available only in Dutch), and more information about the team can be found on <a href="http://www.beyourownhero.nl/">its website</a>, where you can meet the team members and keep track of their preparation for the event in June!</p>
<p>You can also stay in touch with the team on <a href="http://www.facebook.com/pages/Be-Your-Own-Hero/295554160459253">Facebook</a> and <a href="https://twitter.com/#!/TeamBYOH">Twitter</a>, and show your support for those who dare to stand out. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.spilgames.com/spil-games-employee-under-the-spotlight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Who’s the “Fairest” of all advertisers?</title>
		<link>http://www.spilgames.com/who%e2%80%99s-the-%e2%80%9cfairest%e2%80%9d-of-all-advertisers/</link>
		<comments>http://www.spilgames.com/who%e2%80%99s-the-%e2%80%9cfairest%e2%80%9d-of-all-advertisers/#comments</comments>
		<pubDate>Wed, 02 May 2012 15:09:10 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Advertising]]></category>

		<guid isPermaLink="false">http://www.spilgames.com/?p=1839</guid>
		<description><![CDATA[
The advertising world is constantly looking for new ways to connect and communicate with their audiences. More  ... </p><p><a class="readmore" href="http://www.spilgames.com/who%e2%80%99s-the-%e2%80%9cfairest%e2%80%9d-of-all-advertisers/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="mirror mirror" src="http://twitpic.com/show/full/9geude.jpg " alt="" width="415" height="356" /></p>
<p>The advertising world is constantly looking for new ways to connect and communicate with their audiences. More and more of them are coming to Spil Games for our help. Want to find out how Relativity (for their Snow White themed film <em>Mirror Mirror)</em> in the United States, <em>L’Óreal </em>in Belgium, or <em>LEGO Friends </em>in the Netherlands leveraged Spil Game’s social gaming platforms?</p>
<p>You can read all about it in Spil Games’ latest <a href="http://spilgames.dmsx.net/newsletter201202">newsletter</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.spilgames.com/who%e2%80%99s-the-%e2%80%9cfairest%e2%80%9d-of-all-advertisers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

