<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Attaching blood through Actionscript</title>
	<link>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/</link>
	<description></description>
	<pubDate>Thu, 04 Dec 2008 06:20:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: tim</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-17572</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Sun, 08 Jun 2008 15:45:38 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-17572</guid>
		<description>awesty: is there any code so that when the blood touches something that something would go to a new frame.</description>
		<content:encoded><![CDATA[<p>awesty: is there any code so that when the blood touches something that something would go to a new frame.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vengeance</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5958</link>
		<dc:creator>Vengeance</dc:creator>
		<pubDate>Thu, 05 Jul 2007 08:14:17 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5958</guid>
		<description>No, in cs3 (I'm assuming he means AS3 too) there is no _x property. Nor is there an attach movie property. What you would have to do is:
When you go to give the blood a linkage name, give it a class name instead. Something like, bloodMc

then to attach it:


function attachBlood(event:Event){
var blood:bloodMc = new bloodMc();
stage.addChild(blood);
blood.x=mouseX;
blood.y=mouseY;
}
stage.addListener(Event.MOUSE_DOWN, attachBlood);

That will attach it on mouse click.</description>
		<content:encoded><![CDATA[<p>No, in cs3 (I&#8217;m assuming he means AS3 too) there is no _x property. Nor is there an attach movie property. What you would have to do is:<br />
When you go to give the blood a linkage name, give it a class name instead. Something like, bloodMc</p>
<p>then to attach it:</p>
<p>function attachBlood(event:Event){<br />
var blood:bloodMc = new bloodMc();<br />
stage.addChild(blood);<br />
blood.x=mouseX;<br />
blood.y=mouseY;<br />
}<br />
stage.addListener(Event.MOUSE_DOWN, attachBlood);</p>
<p>That will attach it on mouse click.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shadowdragon</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5853</link>
		<dc:creator>Shadowdragon</dc:creator>
		<pubDate>Mon, 02 Jul 2007 09:03:53 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5853</guid>
		<description>Nope, it still goes to a 404 error page.</description>
		<content:encoded><![CDATA[<p>Nope, it still goes to a 404 error page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: awesty</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5836</link>
		<dc:creator>awesty</dc:creator>
		<pubDate>Mon, 02 Jul 2007 08:01:37 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5836</guid>
		<description>It is fixed now.</description>
		<content:encoded><![CDATA[<p>It is fixed now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: awesty</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5835</link>
		<dc:creator>awesty</dc:creator>
		<pubDate>Mon, 02 Jul 2007 07:59:52 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5835</guid>
		<description>Then dont use the code tags ;)</description>
		<content:encoded><![CDATA[<p>Then dont use the code tags <img src='http://www.awestyproductions.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: awesty</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5834</link>
		<dc:creator>awesty</dc:creator>
		<pubDate>Mon, 02 Jul 2007 07:58:59 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5834</guid>
		<description>Just use:

something._x = _xmouse;

instead of:

setProperty(something, _x, _xmouse);

It does the same thing.</description>
		<content:encoded><![CDATA[<p>Just use:</p>
<p>something._x = _xmouse;</p>
<p>instead of:</p>
<p>setProperty(something, _x, _xmouse);</p>
<p>It does the same thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: awesty</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5833</link>
		<dc:creator>awesty</dc:creator>
		<pubDate>Mon, 02 Jul 2007 07:56:57 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5833</guid>
		<description>Instead of attaching the blood when the mouse is clicked, attach it when the enemy is hit. Instead of attaching it to the mouses x/y, attaching it to the enemies.</description>
		<content:encoded><![CDATA[<p>Instead of attaching the blood when the mouse is clicked, attach it when the enemy is hit. Instead of attaching it to the mouses x/y, attaching it to the enemies.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: awesty</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5832</link>
		<dc:creator>awesty</dc:creator>
		<pubDate>Mon, 02 Jul 2007 07:56:05 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5832</guid>
		<description>It is working now.</description>
		<content:encoded><![CDATA[<p>It is working now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shadowdragon</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5707</link>
		<dc:creator>Shadowdragon</dc:creator>
		<pubDate>Sun, 24 Jun 2007 18:01:08 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5707</guid>
		<description>The example link doesn't seem to be working. I keep getting a 404 error web page.</description>
		<content:encoded><![CDATA[<p>The example link doesn&#8217;t seem to be working. I keep getting a 404 error web page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trunk Monkey</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5622</link>
		<dc:creator>Trunk Monkey</dc:creator>
		<pubDate>Sun, 17 Jun 2007 21:23:21 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/attaching-blood-through-actionscript/#comment-5622</guid>
		<description>I used your fighting game one but how can I make it so blood comes out when the enemy is hit?</description>
		<content:encoded><![CDATA[<p>I used your fighting game one but how can I make it so blood comes out when the enemy is hit?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
