<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments on: Making a Complete Flash Game: Prerolling Sponsor Ads and Your Logo</title>
	<atom:link href="http://asgamer.com/2009/making-a-complete-flash-game-prerolling-sponsor-ads-and-your-logo/feed" rel="self" type="application/rss+xml" />
	<link>http://asgamer.com/2009/making-a-complete-flash-game-prerolling-sponsor-ads-and-your-logo</link>
	<description>Learn to Make Flash Games, Applications, and Websites</description>
	<pubDate>Sat, 31 Jul 2010 11:42:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Beau</title>
		<link>http://asgamer.com/2009/making-a-complete-flash-game-prerolling-sponsor-ads-and-your-logo/comment-page-1#comment-4736</link>
		<dc:creator>Beau</dc:creator>
		<pubDate>Thu, 04 Feb 2010 06:39:33 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=411#comment-4736</guid>
		<description>ath77 - I figured it out. When you install the Tweener zip there is a folder labeled caurina in there. That has to go into the default folder for your project, NOT in the com folder. The paths inside the files are not setup any other way so compiling will result in many errors. You also have to import it without the com. in front of caurina.transitions.Tweener; This is contrary to how they have been doing things thus far. Just thought I would help out.</description>
		<content:encoded><![CDATA[<p>ath77 - I figured it out. When you install the Tweener zip there is a folder labeled caurina in there. That has to go into the default folder for your project, NOT in the com folder. The paths inside the files are not setup any other way so compiling will result in many errors. You also have to import it without the com. in front of caurina.transitions.Tweener; This is contrary to how they have been doing things thus far. Just thought I would help out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Beau</title>
		<link>http://asgamer.com/2009/making-a-complete-flash-game-prerolling-sponsor-ads-and-your-logo/comment-page-1#comment-4735</link>
		<dc:creator>Beau</dc:creator>
		<pubDate>Thu, 04 Feb 2010 06:25:16 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=411#comment-4735</guid>
		<description>I agree with ath77. I am also having an issue with the tweener. I wish you guys would have extended your basics series to add in the preloader and such, because I came to this tutorial to learn to put a preloader on a game, but so far I've been doing damage control with the code and am very confused. It would have been the perfect idea to extend your last set of tutorials instead of starting from scratch with something else.

I am assuming I put the caurina folder included with the Tweener package into the projects com folder. Yet when I do I get nothing but errors even when I import the Tweener. A small guide on setting this up or a link would have been nice. I didn't even see anything saying we were going to be needing anything else for this project besides the code we have. I didn't even start to realise Tweener was a set of add-ons until I read through the comments.</description>
		<content:encoded><![CDATA[<p>I agree with ath77. I am also having an issue with the tweener. I wish you guys would have extended your basics series to add in the preloader and such, because I came to this tutorial to learn to put a preloader on a game, but so far I&#8217;ve been doing damage control with the code and am very confused. It would have been the perfect idea to extend your last set of tutorials instead of starting from scratch with something else.</p>
<p>I am assuming I put the caurina folder included with the Tweener package into the projects com folder. Yet when I do I get nothing but errors even when I import the Tweener. A small guide on setting this up or a link would have been nice. I didn&#8217;t even see anything saying we were going to be needing anything else for this project besides the code we have. I didn&#8217;t even start to realise Tweener was a set of add-ons until I read through the comments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ath77</title>
		<link>http://asgamer.com/2009/making-a-complete-flash-game-prerolling-sponsor-ads-and-your-logo/comment-page-1#comment-4709</link>
		<dc:creator>ath77</dc:creator>
		<pubDate>Wed, 06 Jan 2010 21:59:15 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=411#comment-4709</guid>
		<description>Hi Par, I don't know where to put the caurina folder in my project, you say:

"Alright, of course you will need to import Tweener and add it to your directory so flash can use it. But now it will take one second for our Preloader to fade out(plenty enough time for us to reach frame 3), then we can start loading our sponsors."

Which is supposed to be 'your directory'?

On ThePreloader.as file, I write 'import caurina.transitions.Tweener;' INSIDE the 'package com.asgamer.snipergame {'. 
My question is, should the caurina folder be within the snipergame folder?
Also I don't know how properly configure the classpath. I've read on Tweener's site that I should modify the doc's classpath, but in the tutorial, the properties state its 'com.asgamer.snipergame.Engine'. 

I've managed to follow and do all the stuff in your beginner's guide as well as the preloader, but now I'm stuck here.</description>
		<content:encoded><![CDATA[<p>Hi Par, I don&#8217;t know where to put the caurina folder in my project, you say:</p>
<p>&#8220;Alright, of course you will need to import Tweener and add it to your directory so flash can use it. But now it will take one second for our Preloader to fade out(plenty enough time for us to reach frame 3), then we can start loading our sponsors.&#8221;</p>
<p>Which is supposed to be &#8216;your directory&#8217;?</p>
<p>On ThePreloader.as file, I write &#8216;import caurina.transitions.Tweener;&#8217; INSIDE the &#8216;package com.asgamer.snipergame {&#8217;.<br />
My question is, should the caurina folder be within the snipergame folder?<br />
Also I don&#8217;t know how properly configure the classpath. I&#8217;ve read on Tweener&#8217;s site that I should modify the doc&#8217;s classpath, but in the tutorial, the properties state its &#8216;com.asgamer.snipergame.Engine&#8217;. </p>
<p>I&#8217;ve managed to follow and do all the stuff in your beginner&#8217;s guide as well as the preloader, but now I&#8217;m stuck here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rolpege</title>
		<link>http://asgamer.com/2009/making-a-complete-flash-game-prerolling-sponsor-ads-and-your-logo/comment-page-1#comment-2458</link>
		<dc:creator>Rolpege</dc:creator>
		<pubDate>Wed, 27 May 2009 16:05:46 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=411#comment-2458</guid>
		<description>You can, also, add links to the preroll.

I have done it by myself ^^.

Here are the new lines:

First the imports. We need to add:
import flash.net.URLRequest;
import flash.net.navigateToURL;

Next, we add two more global class variables:
prerollLinks:Array;
currentLink:int = 0;

After that, in the constructor function we add at the bottom of the preroll list, the prerollLinks array, with the links in the same order than their appear order.

Next, in preroll function we change this:

if (currentPreroll == prerollList.length) {
return prerollComplete();
}

To this:
if (currentPreroll == prerollList.length) {
stageRef.removeEventListener(MouseEvent.CLICK, link);
}

After that, we add in the preroll function:
stageRef.addEventListener(MouseEvent.CLICK, link, false, 0, true);

Next, we create a link function with this inside:
var request:URLRequest = new URLRequest(prerollLinks[currentLink]);
navigateToURL(request, "_blank");

And finally, we add to the nextPreroll function this:
currentLink ++;

---

I hope this will help you.

Sorry for my English.
Rolpege</description>
		<content:encoded><![CDATA[<p>You can, also, add links to the preroll.</p>
<p>I have done it by myself ^^.</p>
<p>Here are the new lines:</p>
<p>First the imports. We need to add:<br />
import flash.net.URLRequest;<br />
import flash.net.navigateToURL;</p>
<p>Next, we add two more global class variables:<br />
prerollLinks:Array;<br />
currentLink:int = 0;</p>
<p>After that, in the constructor function we add at the bottom of the preroll list, the prerollLinks array, with the links in the same order than their appear order.</p>
<p>Next, in preroll function we change this:</p>
<p>if (currentPreroll == prerollList.length) {<br />
return prerollComplete();<br />
}</p>
<p>To this:<br />
if (currentPreroll == prerollList.length) {<br />
stageRef.removeEventListener(MouseEvent.CLICK, link);<br />
}</p>
<p>After that, we add in the preroll function:<br />
stageRef.addEventListener(MouseEvent.CLICK, link, false, 0, true);</p>
<p>Next, we create a link function with this inside:<br />
var request:URLRequest = new URLRequest(prerollLinks[currentLink]);<br />
navigateToURL(request, &#8220;_blank&#8221;);</p>
<p>And finally, we add to the nextPreroll function this:<br />
currentLink ++;</p>
<p>&#8212;</p>
<p>I hope this will help you.</p>
<p>Sorry for my English.<br />
Rolpege</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pkr</title>
		<link>http://asgamer.com/2009/making-a-complete-flash-game-prerolling-sponsor-ads-and-your-logo/comment-page-1#comment-1369</link>
		<dc:creator>pkr</dc:creator>
		<pubDate>Thu, 30 Apr 2009 13:51:21 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=411#comment-1369</guid>
		<description>Read and used your tutorial! Learned a little bit!
Simple, easy to understand and the explanations are really pleasing!

I wish Id ve teachers like you in my younger days!

Keep it going!

cheers 
pkr</description>
		<content:encoded><![CDATA[<p>Read and used your tutorial! Learned a little bit!<br />
Simple, easy to understand and the explanations are really pleasing!</p>
<p>I wish Id ve teachers like you in my younger days!</p>
<p>Keep it going!</p>
<p>cheers<br />
pkr</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Par</title>
		<link>http://asgamer.com/2009/making-a-complete-flash-game-prerolling-sponsor-ads-and-your-logo/comment-page-1#comment-816</link>
		<dc:creator>Par</dc:creator>
		<pubDate>Fri, 17 Apr 2009 13:18:29 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=411#comment-816</guid>
		<description>Try reading the tutorial next time.
You need to download Tweener and install it.</description>
		<content:encoded><![CDATA[<p>Try reading the tutorial next time.<br />
You need to download Tweener and install it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clouse</title>
		<link>http://asgamer.com/2009/making-a-complete-flash-game-prerolling-sponsor-ads-and-your-logo/comment-page-1#comment-788</link>
		<dc:creator>Clouse</dc:creator>
		<pubDate>Thu, 16 Apr 2009 21:52:01 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=411#comment-788</guid>
		<description>Hmm... all i did was download the source, open up the .FLA, and Test the Movie and all i got was a grey screen, and two compile errors.</description>
		<content:encoded><![CDATA[<p>Hmm&#8230; all i did was download the source, open up the .FLA, and Test the Movie and all i got was a grey screen, and two compile errors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olve</title>
		<link>http://asgamer.com/2009/making-a-complete-flash-game-prerolling-sponsor-ads-and-your-logo/comment-page-1#comment-725</link>
		<dc:creator>Olve</dc:creator>
		<pubDate>Wed, 15 Apr 2009 14:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=411#comment-725</guid>
		<description>Figured it out. I had placed tweener in the wrong directory.</description>
		<content:encoded><![CDATA[<p>Figured it out. I had placed tweener in the wrong directory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Par</title>
		<link>http://asgamer.com/2009/making-a-complete-flash-game-prerolling-sponsor-ads-and-your-logo/comment-page-1#comment-721</link>
		<dc:creator>Par</dc:creator>
		<pubDate>Wed, 15 Apr 2009 12:28:07 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=411#comment-721</guid>
		<description>Not sure man.... I'd have to see where the code is messed up. Download the Source at the end of the Tutorial and compare it with yours. I know it works.</description>
		<content:encoded><![CDATA[<p>Not sure man&#8230;. I&#8217;d have to see where the code is messed up. Download the Source at the end of the Tutorial and compare it with yours. I know it works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olve</title>
		<link>http://asgamer.com/2009/making-a-complete-flash-game-prerolling-sponsor-ads-and-your-logo/comment-page-1#comment-718</link>
		<dc:creator>Olve</dc:creator>
		<pubDate>Wed, 15 Apr 2009 11:53:43 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=411#comment-718</guid>
		<description>It's not working, I think...:S What was it supposed to do? Because now I only see a grey screen, no proloader nor sponsors.</description>
		<content:encoded><![CDATA[<p>It&#8217;s not working, I think&#8230;:S What was it supposed to do? Because now I only see a grey screen, no proloader nor sponsors.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
