<?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: Free Sniper Game .fla</title>
	<atom:link href="http://flashchaz.com/source/free-sniper-game-fla/feed/" rel="self" type="application/rss+xml" />
	<link>http://flashchaz.com/source/free-sniper-game-fla/</link>
	<description>Free Flash Games, Tutorials and Source Files</description>
	<lastBuildDate>Mon, 08 Mar 2010 12:21:36 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Candra Laforte</title>
		<link>http://flashchaz.com/source/free-sniper-game-fla/comment-page-1/#comment-856</link>
		<dc:creator>Candra Laforte</dc:creator>
		<pubDate>Fri, 05 Mar 2010 14:51:51 +0000</pubDate>
		<guid isPermaLink="false">http://flashchaz.com/?p=13#comment-856</guid>
		<description>[..] A bit unrelated, but I quite simply liked this blog post [..]</description>
		<content:encoded><![CDATA[<p>[..] A bit unrelated, but I quite simply liked this blog post [..]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://flashchaz.com/source/free-sniper-game-fla/comment-page-1/#comment-610</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Wed, 23 Dec 2009 05:28:31 +0000</pubDate>
		<guid isPermaLink="false">http://flashchaz.com/?p=13#comment-610</guid>
		<description>i cant open the .fla files...</description>
		<content:encoded><![CDATA[<p>i cant open the .fla files&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Driver</title>
		<link>http://flashchaz.com/source/free-sniper-game-fla/comment-page-1/#comment-595</link>
		<dc:creator>Driver</dc:creator>
		<pubDate>Thu, 17 Dec 2009 13:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://flashchaz.com/?p=13#comment-595</guid>
		<description>hi, can you make sniper games with multiple missions? i need to know how.</description>
		<content:encoded><![CDATA[<p>hi, can you make sniper games with multiple missions? i need to know how.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chaz</title>
		<link>http://flashchaz.com/source/free-sniper-game-fla/comment-page-1/#comment-463</link>
		<dc:creator>Chaz</dc:creator>
		<pubDate>Sun, 29 Nov 2009 13:57:43 +0000</pubDate>
		<guid isPermaLink="false">http://flashchaz.com/?p=13#comment-463</guid>
		<description>Just use a hitTest..so on your window animated the movieclip of the window breaking and put this code on it:

onClipEvent(enterFrame){
if(this.hitTest(_root.gun) &amp;&amp; _root.gun._currentframe&gt;1)){
this.play();
}
}

Providing your sniper scope clip is called &#039;gun&#039; you should have no problem!</description>
		<content:encoded><![CDATA[<p>Just use a hitTest..so on your window animated the movieclip of the window breaking and put this code on it:</p>
<p>onClipEvent(enterFrame){<br />
if(this.hitTest(_root.gun) &#038;&#038; _root.gun._currentframe>1)){<br />
this.play();<br />
}<br />
}</p>
<p>Providing your sniper scope clip is called &#8216;gun&#8217; you should have no problem!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rovzx</title>
		<link>http://flashchaz.com/source/free-sniper-game-fla/comment-page-1/#comment-462</link>
		<dc:creator>rovzx</dc:creator>
		<pubDate>Sun, 29 Nov 2009 13:21:58 +0000</pubDate>
		<guid isPermaLink="false">http://flashchaz.com/?p=13#comment-462</guid>
		<description>how do i implement people to shoot at, or make the window crack if i hit it?</description>
		<content:encoded><![CDATA[<p>how do i implement people to shoot at, or make the window crack if i hit it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chaz</title>
		<link>http://flashchaz.com/source/free-sniper-game-fla/comment-page-1/#comment-7</link>
		<dc:creator>Chaz</dc:creator>
		<pubDate>Sat, 06 Jun 2009 00:07:14 +0000</pubDate>
		<guid isPermaLink="false">http://flashchaz.com/?p=13#comment-7</guid>
		<description>Hey asgrunt, I realise some of the code was un-nessecary, this is because it came straight from a project I was working on at the time and I forgot to remove some parts of code. However I have updated the link to a new fla which has some code clutter removed. The idea of having drag equaling accuracy was to make it an editable feature, so as the missions went on, the accuracy var could go up by X amount or a user defined number. Thanks for your comment!</description>
		<content:encoded><![CDATA[<p>Hey asgrunt, I realise some of the code was un-nessecary, this is because it came straight from a project I was working on at the time and I forgot to remove some parts of code. However I have updated the link to a new fla which has some code clutter removed. The idea of having drag equaling accuracy was to make it an editable feature, so as the missions went on, the accuracy var could go up by X amount or a user defined number. Thanks for your comment!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: asgrunt</title>
		<link>http://flashchaz.com/source/free-sniper-game-fla/comment-page-1/#comment-6</link>
		<dc:creator>asgrunt</dc:creator>
		<pubDate>Fri, 05 Jun 2009 20:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://flashchaz.com/?p=13#comment-6</guid>
		<description>thanks for the fla. Maybe you should change the code a little bit:

1. you neither need the onMouseUp nor the onEnterFrame at _root. You can do it simply by an onMouseDown
2. don&#039;t use Mouse.hide() in an enterframe - it is enough to hide the mouse once (clipevent on aim)
3. if the vars acceleration and drag are the same use only one
4. in the code you call the play-method for a non-existing gun mc
5. put every script in a single frame (no need for object scripts any more)

something like that will do (frame script at _root):

//-------------------- vars -------------------------
var nAmmo:Number = 12;
var nCash:Number = 100;
var nDrag:Number = 0.05;
//-------------------- functions -------------------------
function initGame() {
	this.onMouseDown = shooting;
	aim.onEnterFrame = moving;
	Mouse.hide();
}
function moving() {
	this._x += (_xmouse-this._x)*nDrag;
	this._y += (_ymouse-this._y)*nDrag;
}
function shooting() {
	aim.play();
}
//-------------------- start -------------------------
initGame();</description>
		<content:encoded><![CDATA[<p>thanks for the fla. Maybe you should change the code a little bit:</p>
<p>1. you neither need the onMouseUp nor the onEnterFrame at _root. You can do it simply by an onMouseDown<br />
2. don&#8217;t use Mouse.hide() in an enterframe &#8211; it is enough to hide the mouse once (clipevent on aim)<br />
3. if the vars acceleration and drag are the same use only one<br />
4. in the code you call the play-method for a non-existing gun mc<br />
5. put every script in a single frame (no need for object scripts any more)</p>
<p>something like that will do (frame script at _root):</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; vars &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
var nAmmo:Number = 12;<br />
var nCash:Number = 100;<br />
var nDrag:Number = 0.05;<br />
//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; functions &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
function initGame() {<br />
	this.onMouseDown = shooting;<br />
	aim.onEnterFrame = moving;<br />
	Mouse.hide();<br />
}<br />
function moving() {<br />
	this._x += (_xmouse-this._x)*nDrag;<br />
	this._y += (_ymouse-this._y)*nDrag;<br />
}<br />
function shooting() {<br />
	aim.play();<br />
}<br />
//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; start &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
initGame();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://flashchaz.com/source/free-sniper-game-fla/comment-page-1/#comment-5</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 03 Jun 2009 21:58:15 +0000</pubDate>
		<guid isPermaLink="false">http://flashchaz.com/?p=13#comment-5</guid>
		<description>Thanks alot, keep checking back as I&#039;ll be adding some really cool stuff over the coming weeks! :)
And thanks Drew, Spam The Web don&#039;t take .zip but I&#039;ll definately check out the MediaFire site.</description>
		<content:encoded><![CDATA[<p>Thanks alot, keep checking back as I&#8217;ll be adding some really cool stuff over the coming weeks! <img src='http://flashchaz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
And thanks Drew, Spam The Web don&#8217;t take .zip but I&#8217;ll definately check out the MediaFire site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew</title>
		<link>http://flashchaz.com/source/free-sniper-game-fla/comment-page-1/#comment-4</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Wed, 03 Jun 2009 20:07:59 +0000</pubDate>
		<guid isPermaLink="false">http://flashchaz.com/?p=13#comment-4</guid>
		<description>I know a good one, either spam the web, or a much more unnoticed one, Media Fire.

http://www.mediafire.com/</description>
		<content:encoded><![CDATA[<p>I know a good one, either spam the web, or a much more unnoticed one, Media Fire.</p>
<p><a href="http://www.mediafire.com/" rel="nofollow">http://www.mediafire.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neverbeforgotten</title>
		<link>http://flashchaz.com/source/free-sniper-game-fla/comment-page-1/#comment-3</link>
		<dc:creator>neverbeforgotten</dc:creator>
		<pubDate>Wed, 03 Jun 2009 19:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://flashchaz.com/?p=13#comment-3</guid>
		<description>dude thanks, i got your reply on ng so thanks, i&#039;ll add this page to my fave&#039;s ;)</description>
		<content:encoded><![CDATA[<p>dude thanks, i got your reply on ng so thanks, i&#8217;ll add this page to my fave&#8217;s <img src='http://flashchaz.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
