<?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>ActionScript Scraps &#187; design tool</title>
	<atom:link href="http://blog.sitedaniel.com/tag/design-tool/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sitedaniel.com</link>
	<description>Flash, Flex and AIR development</description>
	<lastBuildDate>Wed, 28 Jul 2010 11:15:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>AS2.0 DesignTool</title>
		<link>http://blog.sitedaniel.com/2008/08/as20-designtool/</link>
		<comments>http://blog.sitedaniel.com/2008/08/as20-designtool/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 19:24:00 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as2.0]]></category>
		<category><![CDATA[design tool]]></category>
		<category><![CDATA[static function]]></category>

		<guid isPermaLink="false">http://blog.sitedaniel.com/?p=65</guid>
		<description><![CDATA[Following up on an earlier post, here is the AS2.0 version of the dragToPosition X &#38; Y coordinate tracer. class com.sitedaniel.utils.Design { public static function dragToPosition(mc:MovieClip):Void { mc.onPress = function():Void { startDrag(this, false); } mc.onRelease = function():Void { this.stopDrag(); trace(this._x + ', ' + this._y); } } }]]></description>
			<content:encoded><![CDATA[<p>Following up on an earlier post, here is the AS2.0 version of the dragToPosition X &amp; Y coordinate tracer.</p>
<pre>
class com.sitedaniel.utils.Design
{
	public static function dragToPosition(mc:MovieClip):Void
	{
		mc.onPress = function():Void
		{
			startDrag(this, false);
		}
		mc.onRelease = function():Void
		{
			this.stopDrag();
			trace(this._x + ', ' + this._y);
		}
	}
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.sitedaniel.com/2008/08/as20-designtool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
