<?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: TransformManager (AS2) &#8211; Scale/Rotate/Move any MovieClip</title>
	<atom:link href="http://www.greensock.com/transformmanageras2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.greensock.com/transformmanageras2/</link>
	<description>Engaging the internet</description>
	<lastBuildDate>Sat, 13 Mar 2010 17:00:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: LEO</title>
		<link>http://www.greensock.com/transformmanageras2/comment-page-2/#comment-2818</link>
		<dc:creator>LEO</dc:creator>
		<pubDate>Wed, 04 Nov 2009 07:10:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=3#comment-2818</guid>
		<description>You are the best!
Thanks you!</description>
		<content:encoded><![CDATA[<p>You are the best!<br />
Thanks you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nagarajan</title>
		<link>http://www.greensock.com/transformmanageras2/comment-page-2/#comment-193</link>
		<dc:creator>Nagarajan</dc:creator>
		<pubDate>Thu, 13 Aug 2009 10:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=3#comment-193</guid>
		<description>Dear Jack,
          You are the great man in life and as2. You have reached two step ahead from others in our flash community.

Regards,
Nagarajan</description>
		<content:encoded><![CDATA[<p>Dear Jack,<br />
          You are the great man in life and as2. You have reached two step ahead from others in our flash community.</p>
<p>Regards,<br />
Nagarajan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K999</title>
		<link>http://www.greensock.com/transformmanageras2/comment-page-2/#comment-192</link>
		<dc:creator>K999</dc:creator>
		<pubDate>Tue, 31 Mar 2009 09:14:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=3#comment-192</guid>
		<description>Jack, I have simply these words for you &quot;YOU ARE AWESOME&quot;, this class saved a lot of my time and efforts.thanks again.</description>
		<content:encoded><![CDATA[<p>Jack, I have simply these words for you &#8220;YOU ARE AWESOME&#8221;, this class saved a lot of my time and efforts.thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamison</title>
		<link>http://www.greensock.com/transformmanageras2/comment-page-2/#comment-191</link>
		<dc:creator>Jamison</dc:creator>
		<pubDate>Wed, 01 Oct 2008 07:56:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=3#comment-191</guid>
		<description>Jack, you are the man. Thanks for such great source.</description>
		<content:encoded><![CDATA[<p>Jack, you are the man. Thanks for such great source.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://www.greensock.com/transformmanageras2/comment-page-2/#comment-188</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Tue, 15 Jul 2008 17:19:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=3#comment-188</guid>
		<description>sherest, I have good news and bad news for you. First the bad news: the AS2 version of TransformManager doesn&#039;t allow you to directly transform objects through code (its transformations are purely interactive). However, you CAN directly alter any object&#039;s scale/rotation/position and then call update() to force the selection handles to adjust to the new dimesions/position, but that won&#039;t solve your problem relating to scaling around the center instead of the registration point that&#039;s in the upper left.

Now for the good news...

1) I completely rebuilt the AS3 version of TransformManager and it lets you easily accomplish exactly what you&#039;re after. Everything can be driven by user interaction OR code (or a mixture of both). It also adds a bunch of features including multiple selections, extra handles, depth management, and lots more. You can see an interactive demo at http://www.greensock.com/ActionScript/TransformManager/AS3/. If you can target AS3 in your project, I&#039;d highly recommend it. I plan to sell licenses of the AS3 version of TransformManager on my site within the next few weeks.

2) If you must use AS2, you can join Club GreenSock and get the TransformMatrixProxy class (http://blog.greensock.com/transformmatrixproxy/) which allows you to set a custom registration point around which all matrix transformations occur. This would allow you to rotate around the center of your clip instead of the upper left corner where the registration point is. There&#039;s an AS2 version of the class available (although you must target Flash Player 8 because earlier versions don&#039;t recognize matrix transformations). You could use the class in conjunction with TransformManager (and its update() call) to accomplish what you&#039;re after.</description>
		<content:encoded><![CDATA[<p>sherest, I have good news and bad news for you. First the bad news: the AS2 version of TransformManager doesn&#8217;t allow you to directly transform objects through code (its transformations are purely interactive). However, you CAN directly alter any object&#8217;s scale/rotation/position and then call update() to force the selection handles to adjust to the new dimesions/position, but that won&#8217;t solve your problem relating to scaling around the center instead of the registration point that&#8217;s in the upper left.</p>
<p>Now for the good news&#8230;</p>
<p>1) I completely rebuilt the AS3 version of TransformManager and it lets you easily accomplish exactly what you&#8217;re after. Everything can be driven by user interaction OR code (or a mixture of both). It also adds a bunch of features including multiple selections, extra handles, depth management, and lots more. You can see an interactive demo at <a href="http://www.greensock.com/ActionScript/TransformManager/AS3/" rel="nofollow">http://www.greensock.com/ActionScript/TransformManager/AS3/</a>. If you can target AS3 in your project, I&#8217;d highly recommend it. I plan to sell licenses of the AS3 version of TransformManager on my site within the next few weeks.</p>
<p>2) If you must use AS2, you can join Club GreenSock and get the TransformMatrixProxy class (<a href="http://blog.greensock.com/transformmatrixproxy/" rel="nofollow">http://blog.greensock.com/transformmatrixproxy/</a>) which allows you to set a custom registration point around which all matrix transformations occur. This would allow you to rotate around the center of your clip instead of the upper left corner where the registration point is. There&#8217;s an AS2 version of the class available (although you must target Flash Player 8 because earlier versions don&#8217;t recognize matrix transformations). You could use the class in conjunction with TransformManager (and its update() call) to accomplish what you&#8217;re after.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sherest</title>
		<link>http://www.greensock.com/transformmanageras2/comment-page-2/#comment-189</link>
		<dc:creator>sherest</dc:creator>
		<pubDate>Tue, 15 Jul 2008 07:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=3#comment-189</guid>
		<description>Great tool! Thanks a lot..

how can I rotate/scale/flip the target object via custom script. I have few button placed down in my movie to perform those action, but it rotates the target movie clip form upper left corner instead of center. when we scale the target object via button, it&#039;s enlarge the movie clip beyond the bound area mentioned in Transform Manager object. Please help me?</description>
		<content:encoded><![CDATA[<p>Great tool! Thanks a lot..</p>
<p>how can I rotate/scale/flip the target object via custom script. I have few button placed down in my movie to perform those action, but it rotates the target movie clip form upper left corner instead of center. when we scale the target object via button, it&#8217;s enlarge the movie clip beyond the bound area mentioned in Transform Manager object. Please help me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Canazza</title>
		<link>http://www.greensock.com/transformmanageras2/comment-page-2/#comment-190</link>
		<dc:creator>Canazza</dc:creator>
		<pubDate>Thu, 10 Jul 2008 14:20:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=3#comment-190</guid>
		<description>just been reading the comments and noticed what Yarek said (6 months ago, i know) but i&#039;ve come up with a solution for hairline thin line objects. Just draw an invisible square within it to serve as the hit area.
i&#039;ve modified the following code in the TransformManager class:
####################
if (tgo instanceof TextField) {
			var new_obj = new TransformItemTF(tgo, ...);
		} else {
######## EDITED CODE ########
                       var bnds:Object = tgo.getBounds(tgo)
			if(bnds.xMin - bnds.xMax &lt; 5) { //if it&#039;s thiner than 5 px in the X direction, add some padding
				bnds.xMin -= 5;
				bnds.xMax += 5
			}
			if(bnds.yMin - bnds.yMax &lt; 5) {//if it&#039;s thiner than 5 px in the Y direction, add some padding
				bnds.yMin -= 5;
				bnds.yMax += 5
			}
			tgo.beginFill(0,0)
			tgo.lineStyle(0,0,0)
			tgo.moveTo(bnds.xMin,bnds.yMin)
			tgo.lineTo(bnds.xMax,bnds.yMin)
			tgo.lineTo(bnds.xMax,bnds.yMax)
			tgo.lineTo(bnds.xMin,bnds.yMax)
			tgo.endFill()
######## END EDITED CODE ########
			var new_obj = new TransformItem(tgo, ... (lots of stuff here));


		}
###################
you can change the values to suit yourself</description>
		<content:encoded><![CDATA[<p>just been reading the comments and noticed what Yarek said (6 months ago, i know) but i&#8217;ve come up with a solution for hairline thin line objects. Just draw an invisible square within it to serve as the hit area.<br />
i&#8217;ve modified the following code in the TransformManager class:<br />
####################<br />
if (tgo instanceof TextField) {<br />
			var new_obj = new TransformItemTF(tgo, &#8230;);<br />
		} else {<br />
######## EDITED CODE ########<br />
                       var bnds:Object = tgo.getBounds(tgo)<br />
			if(bnds.xMin &#8211; bnds.xMax &lt; 5) { //if it&#8217;s thiner than 5 px in the X direction, add some padding<br />
				bnds.xMin -= 5;<br />
				bnds.xMax += 5<br />
			}<br />
			if(bnds.yMin &#8211; bnds.yMax &lt; 5) {//if it&#8217;s thiner than 5 px in the Y direction, add some padding<br />
				bnds.yMin -= 5;<br />
				bnds.yMax += 5<br />
			}<br />
			tgo.beginFill(0,0)<br />
			tgo.lineStyle(0,0,0)<br />
			tgo.moveTo(bnds.xMin,bnds.yMin)<br />
			tgo.lineTo(bnds.xMax,bnds.yMin)<br />
			tgo.lineTo(bnds.xMax,bnds.yMax)<br />
			tgo.lineTo(bnds.xMin,bnds.yMax)<br />
			tgo.endFill()<br />
######## END EDITED CODE ########<br />
			var new_obj = new TransformItem(tgo, &#8230; (lots of stuff here));</p>
<p>		}<br />
###################<br />
you can change the values to suit yourself</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.greensock.com/transformmanageras2/comment-page-2/#comment-175</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 22 Apr 2008 18:12:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=3#comment-175</guid>
		<description>Hi Jack,
Great tool - very well designed and of immense help,
thank you,
Mark</description>
		<content:encoded><![CDATA[<p>Hi Jack,<br />
Great tool &#8211; very well designed and of immense help,<br />
thank you,<br />
Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.greensock.com/transformmanageras2/comment-page-2/#comment-174</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Fri, 18 Apr 2008 09:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=3#comment-174</guid>
		<description>Hi Jack,

Great work!! Thanks very much.

To set the width (or height) I have made a little function...

function set_width() {
	// set manager_obj.autoDeselect=false
	dd=manager_obj.selectedTargetObject
	rot = dd._rotation;
	dd._rotation = 0;
	dd._width = s1.value;
	dd._rotation=rot
	manager_obj.selectedItem.update();
}

Hope it helps someone....

Eric</description>
		<content:encoded><![CDATA[<p>Hi Jack,</p>
<p>Great work!! Thanks very much.</p>
<p>To set the width (or height) I have made a little function&#8230;</p>
<p>function set_width() {<br />
	// set manager_obj.autoDeselect=false<br />
	dd=manager_obj.selectedTargetObject<br />
	rot = dd._rotation;<br />
	dd._rotation = 0;<br />
	dd._width = s1.value;<br />
	dd._rotation=rot<br />
	manager_obj.selectedItem.update();<br />
}</p>
<p>Hope it helps someone&#8230;.</p>
<p>Eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saga</title>
		<link>http://www.greensock.com/transformmanageras2/comment-page-2/#comment-187</link>
		<dc:creator>Saga</dc:creator>
		<pubDate>Mon, 10 Mar 2008 06:07:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.greensock.com/?p=3#comment-187</guid>
		<description>I like it very much...........

actually i&#039;m a c# programer, I am going to develop a move for TShirt project.
It gives me courage and saves time


thank you very much..............</description>
		<content:encoded><![CDATA[<p>I like it very much&#8230;&#8230;&#8230;..</p>
<p>actually i&#8217;m a c# programer, I am going to develop a move for TShirt project.<br />
It gives me courage and saves time</p>
<p>thank you very much&#8230;&#8230;&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
