<?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: Double Sided 3D Plane in FP10</title>
	<atom:link href="http://blog.soulwire.co.uk/code/open-source/two-sided-planes-in-flash-player-10/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.soulwire.co.uk/code/open-source/two-sided-planes-in-flash-player-10</link>
	<description>Art + Technology</description>
	<lastBuildDate>Thu, 06 Oct 2011 13:58:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: TomTom</title>
		<link>http://blog.soulwire.co.uk/code/open-source/two-sided-planes-in-flash-player-10/comment-page-9#comment-9839</link>
		<dc:creator>TomTom</dc:creator>
		<pubDate>Mon, 15 Aug 2011 15:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.soulwire.co.uk/?p=273#comment-9839</guid>
		<description>Hi guys ! First, thanks for this class, very usefull ! This is the second i use it, but this time i really needed the blur to disppear, so i search solutions and i found that we can fix this issue by adapting the scaling of the displayobjects &quot;front&quot; and &quot;back&quot;... so i applied it the &quot;alignFaces&quot; function as followand it works... hope that will help some of you...

private function alignFaces():void
		{
			var position:Point;
			var registration:Point;
			var bounds:Rectangle;
			var xfactor:Number;
			var yfactor:Number;
			
			if( _front )
			{
				_front.x = 0;
				_front.y = 0;
				
				registration = new Point( Math.round(_front.width * _pivot.x), Math.round(_front.height * _pivot.y) );
				
				bounds = _front.getBounds( this );
				registration.x += bounds.x;
				registration.y += bounds.y;
				
				position = globalToLocal( _front.localToGlobal( registration ) );
				
				_front.x -= Math.round(position.x);
				_front.y -= Math.round(position.y);
				
				xfactor =_front.width/(_front.width+1);
				yfactor =_front.height/(_front.height+1);
				_front.scaleX=xfactor;
				_front.scaleY=yfactor;
				_front.z=0;
			}
			
			if( _back )
			{
				_back.x = 0;
				_back.y = 0;
				
				registration = new Point( Math.round(_back.width * _pivot.x), Math.round(_back.height * _pivot.y) );
				
				bounds = _back.getBounds( this );
				registration.x += bounds.x;
				registration.y += bounds.y;
				
				position = globalToLocal( _back.localToGlobal( registration ) );
				
				_back.x -= Math.round(position.x * _back.scaleX);
				_back.y -= Math.round(position.y);
				
				xfactor =_back.width/(_back.width+1);
				yfactor =_back.height/(_back.height+1);
				_back.scaleX = -xfactor;
				_back.scaleY = yfactor;
				_back.z=0;
			}</description>
		<content:encoded><![CDATA[<p>Hi guys ! First, thanks for this class, very usefull ! This is the second i use it, but this time i really needed the blur to disppear, so i search solutions and i found that we can fix this issue by adapting the scaling of the displayobjects &#8220;front&#8221; and &#8220;back&#8221;&#8230; so i applied it the &#8220;alignFaces&#8221; function as followand it works&#8230; hope that will help some of you&#8230;</p>
<p>private function alignFaces():void<br />
		{<br />
			var position:Point;<br />
			var registration:Point;<br />
			var bounds:Rectangle;<br />
			var xfactor:Number;<br />
			var yfactor:Number;</p>
<p>			if( _front )<br />
			{<br />
				_front.x = 0;<br />
				_front.y = 0;</p>
<p>				registration = new Point( Math.round(_front.width * _pivot.x), Math.round(_front.height * _pivot.y) );</p>
<p>				bounds = _front.getBounds( this );<br />
				registration.x += bounds.x;<br />
				registration.y += bounds.y;</p>
<p>				position = globalToLocal( _front.localToGlobal( registration ) );</p>
<p>				_front.x -= Math.round(position.x);<br />
				_front.y -= Math.round(position.y);</p>
<p>				xfactor =_front.width/(_front.width+1);<br />
				yfactor =_front.height/(_front.height+1);<br />
				_front.scaleX=xfactor;<br />
				_front.scaleY=yfactor;<br />
				_front.z=0;<br />
			}</p>
<p>			if( _back )<br />
			{<br />
				_back.x = 0;<br />
				_back.y = 0;</p>
<p>				registration = new Point( Math.round(_back.width * _pivot.x), Math.round(_back.height * _pivot.y) );</p>
<p>				bounds = _back.getBounds( this );<br />
				registration.x += bounds.x;<br />
				registration.y += bounds.y;</p>
<p>				position = globalToLocal( _back.localToGlobal( registration ) );</p>
<p>				_back.x -= Math.round(position.x * _back.scaleX);<br />
				_back.y -= Math.round(position.y);</p>
<p>				xfactor =_back.width/(_back.width+1);<br />
				yfactor =_back.height/(_back.height+1);<br />
				_back.scaleX = -xfactor;<br />
				_back.scaleY = yfactor;<br />
				_back.z=0;<br />
			}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://blog.soulwire.co.uk/code/open-source/two-sided-planes-in-flash-player-10/comment-page-9#comment-9833</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Wed, 03 Aug 2011 22:03:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.soulwire.co.uk/?p=273#comment-9833</guid>
		<description>isFrontFacing stops working correctly when assigning a personal perspective projection to the sprite&#039;s parent.</description>
		<content:encoded><![CDATA[<p>isFrontFacing stops working correctly when assigning a personal perspective projection to the sprite&#8217;s parent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antony</title>
		<link>http://blog.soulwire.co.uk/code/open-source/two-sided-planes-in-flash-player-10/comment-page-9#comment-9803</link>
		<dc:creator>Antony</dc:creator>
		<pubDate>Wed, 01 Jun 2011 10:24:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.soulwire.co.uk/?p=273#comment-9803</guid>
		<description>Hi Justin,

I&#039;m new to Flash 3D Tools, AS3, and importing classes, so please pardon my ignorance, but I&#039;ve been struggling with both the &quot;single sided back reversed post card&quot; and &quot;z-order not respecting z-space&quot; issues for a couple weeks now and hope your solution will solve it.

The reason why I ask is that I am building fairly complex 3D objects on the stage without using an engine such as Papervision3D or Away3D.

What is not clear is how do I use PaperSprites in the Flash IDE? When I create a PaperSprite in AS3 can I manipulate it as I would any other symbol within my Library? 

For example, will it appear in my Library to add to stage as a reference or nest in a new MovieClip? Will I be able to position it using the Property Inspector, 3D Rotation, and 3D Translation Tools? Will I be able to duplicate it within the Library and simply swap out instances of front and back? Or will I have to hand code each one manually?

Are you aware of any video tutorials that take advantage of both this and SimpleZSorter? If not, would you like to create one?

Thank you,

Antony</description>
		<content:encoded><![CDATA[<p>Hi Justin,</p>
<p>I&#8217;m new to Flash 3D Tools, AS3, and importing classes, so please pardon my ignorance, but I&#8217;ve been struggling with both the &#8220;single sided back reversed post card&#8221; and &#8220;z-order not respecting z-space&#8221; issues for a couple weeks now and hope your solution will solve it.</p>
<p>The reason why I ask is that I am building fairly complex 3D objects on the stage without using an engine such as Papervision3D or Away3D.</p>
<p>What is not clear is how do I use PaperSprites in the Flash IDE? When I create a PaperSprite in AS3 can I manipulate it as I would any other symbol within my Library? </p>
<p>For example, will it appear in my Library to add to stage as a reference or nest in a new MovieClip? Will I be able to position it using the Property Inspector, 3D Rotation, and 3D Translation Tools? Will I be able to duplicate it within the Library and simply swap out instances of front and back? Or will I have to hand code each one manually?</p>
<p>Are you aware of any video tutorials that take advantage of both this and SimpleZSorter? If not, would you like to create one?</p>
<p>Thank you,</p>
<p>Antony</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jazlynn</title>
		<link>http://blog.soulwire.co.uk/code/open-source/two-sided-planes-in-flash-player-10/comment-page-6#comment-9797</link>
		<dc:creator>Jazlynn</dc:creator>
		<pubDate>Tue, 10 May 2011 19:29:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.soulwire.co.uk/?p=273#comment-9797</guid>
		<description>That saves me. Thanks for being so sienslbe!</description>
		<content:encoded><![CDATA[<p>That saves me. Thanks for being so sienslbe!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: perpektive abschalten - perspectiveProjection - Flashforum</title>
		<link>http://blog.soulwire.co.uk/code/open-source/two-sided-planes-in-flash-player-10/comment-page-9#comment-9796</link>
		<dc:creator>perpektive abschalten - perspectiveProjection - Flashforum</dc:creator>
		<pubDate>Mon, 09 May 2011 11:52:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.soulwire.co.uk/?p=273#comment-9796</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: I cannot (will not) use TLF text fields in Flash CS5 &#124; harveyline blog</title>
		<link>http://blog.soulwire.co.uk/code/open-source/two-sided-planes-in-flash-player-10/comment-page-8#comment-9527</link>
		<dc:creator>I cannot (will not) use TLF text fields in Flash CS5 &#124; harveyline blog</dc:creator>
		<pubDate>Thu, 10 Mar 2011 13:02:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.soulwire.co.uk/?p=273#comment-9527</guid>
		<description>[...] before releasing them to my website. (I recently replaced a Papervision component with the PaperSprite Class from SoulWire, thereby saving [...]</description>
		<content:encoded><![CDATA[<p>[...] before releasing them to my website. (I recently replaced a Papervision component with the PaperSprite Class from SoulWire, thereby saving [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Harvey</title>
		<link>http://blog.soulwire.co.uk/code/open-source/two-sided-planes-in-flash-player-10/comment-page-8#comment-9521</link>
		<dc:creator>Martin Harvey</dc:creator>
		<pubDate>Sun, 06 Mar 2011 16:50:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.soulwire.co.uk/?p=273#comment-9521</guid>
		<description>Very, very, nice.
I was using Papervision to create flippable two-sided planes in CS3 using loaded SWFs for the plane images. This added about 64kb to the overall SWF file size.
I also experimented with Away3D, which I think rendered the plane better but added 128kb.
I recently upgraded to CS5 (late to the party a usual) and implemented this class to acheive the same effect which adds about 4kb!
I parent the child SWF to the root display list to get best fidelity and only parent the SWF to the PaperSprite duting the &#039;flip&#039;.

Thanks to you and Professor Senocular

Martin</description>
		<content:encoded><![CDATA[<p>Very, very, nice.<br />
I was using Papervision to create flippable two-sided planes in CS3 using loaded SWFs for the plane images. This added about 64kb to the overall SWF file size.<br />
I also experimented with Away3D, which I think rendered the plane better but added 128kb.<br />
I recently upgraded to CS5 (late to the party a usual) and implemented this class to acheive the same effect which adds about 4kb!<br />
I parent the child SWF to the root display list to get best fidelity and only parent the SWF to the PaperSprite duting the &#8216;flip&#8217;.</p>
<p>Thanks to you and Professor Senocular</p>
<p>Martin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Soulwire</title>
		<link>http://blog.soulwire.co.uk/code/open-source/two-sided-planes-in-flash-player-10/comment-page-8#comment-9456</link>
		<dc:creator>Soulwire</dc:creator>
		<pubDate>Fri, 04 Feb 2011 15:14:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.soulwire.co.uk/?p=273#comment-9456</guid>
		<description>Hi Adrian,

I&#039;ve fixed some bugs and improved performance and will definitely add the null Matrix3D feature.

Keep an eye on: https://github.com/soulwire/SoulwireAS3Framework/blob/master/src/uk/co/soulwire/display/PaperSprite.as</description>
		<content:encoded><![CDATA[<p>Hi Adrian,</p>
<p>I&#8217;ve fixed some bugs and improved performance and will definitely add the null Matrix3D feature.</p>
<p>Keep an eye on: <a rel="nofollow" href="http://blog.soulwire.co.uk//goto/https://github.com/soulwire/SoulwireAS3Framework/blob/master/src/uk/co/soulwire/display/PaperSprite.as"  rel="nofollow">https://github.com/soulwire/SoulwireAS3Framework/blob/master/src/uk/co/soulwire/display/PaperSprite.as</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Parr</title>
		<link>http://blog.soulwire.co.uk/code/open-source/two-sided-planes-in-flash-player-10/comment-page-8#comment-9454</link>
		<dc:creator>Adrian Parr</dc:creator>
		<pubDate>Thu, 03 Feb 2011 12:51:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.soulwire.co.uk/?p=273#comment-9454</guid>
		<description>Hi Justin,

Do you think V2 is on the horizon?

You mention &quot;I need to update this class as there are a few little bugs and improvements, so I’ll be sure to include this feature.&quot; It would be great if you incorporated the nullifying of the matrix3D into the class, or provide a public method that we could call manually that removed the blurriness (if the PaperSprite is not rotated in any way).

Cheers,

Adrian</description>
		<content:encoded><![CDATA[<p>Hi Justin,</p>
<p>Do you think V2 is on the horizon?</p>
<p>You mention &#8220;I need to update this class as there are a few little bugs and improvements, so I’ll be sure to include this feature.&#8221; It would be great if you incorporated the nullifying of the matrix3D into the class, or provide a public method that we could call manually that removed the blurriness (if the PaperSprite is not rotated in any way).</p>
<p>Cheers,</p>
<p>Adrian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flashVT &#187; GameJam II: Cards are flipping and shuffling</title>
		<link>http://blog.soulwire.co.uk/code/open-source/two-sided-planes-in-flash-player-10/comment-page-8#comment-9441</link>
		<dc:creator>flashVT &#187; GameJam II: Cards are flipping and shuffling</dc:creator>
		<pubDate>Sat, 29 Jan 2011 03:21:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.soulwire.co.uk/?p=273#comment-9441</guid>
		<description>[...] cards are now flipping and I added some shuffling for testings. Thanks to soulwire for the PaperSprite class. Next up, limiting to 2 flips per turn and checking [...]</description>
		<content:encoded><![CDATA[<p>[...] cards are now flipping and I added some shuffling for testings. Thanks to soulwire for the PaperSprite class. Next up, limiting to 2 flips per turn and checking [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

