<?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: Click then Tween Camera to Plane</title>
	<atom:link href="http://pv3d.org/2008/12/28/click-then-tween-camera-to-plane/feed/" rel="self" type="application/rss+xml" />
	<link>http://pv3d.org/2008/12/28/click-then-tween-camera-to-plane/</link>
	<description>Papervision3D, ActionScript, and Flex examples and tutorials by John Lindquist</description>
	<lastBuildDate>Wed, 16 May 2012 05:32:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Carl S</title>
		<link>http://pv3d.org/2008/12/28/click-then-tween-camera-to-plane/comment-page-1/#comment-34417</link>
		<dc:creator>Carl S</dc:creator>
		<pubDate>Thu, 17 Mar 2011 22:18:13 +0000</pubDate>
		<guid isPermaLink="false">http://pv3d.org/?p=276#comment-34417</guid>
		<description>Anyone been able to repost the pv_3d_updated.zip?&lt;br&gt;Would sure look to see that Flash IDE sample.</description>
		<content:encoded><![CDATA[<p>Anyone been able to repost the pv_3d_updated.zip?<br />Would sure look to see that Flash IDE sample.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://pv3d.org/2008/12/28/click-then-tween-camera-to-plane/comment-page-1/#comment-32647</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Sun, 11 Jul 2010 22:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://pv3d.org/?p=276#comment-32647</guid>
		<description>I tried to download the updated zip from:&lt;br&gt;&lt;a href=&quot;http://www.visitframe.co.uk/downloads/pv_3d_updated.zip&quot; rel=&quot;nofollow&quot;&gt;www.visitframe.co.uk/downloads/pv_3d_updated.zip&lt;/a&gt;&lt;br&gt;And it gives me:&lt;br&gt;&quot;Four oh four!  You got here, but you ain&#039;t meant to be here...&quot;&lt;br&gt;I&#039;d really like to use this example but I&#039;m such a newbie to working with AS3 and classes that when I download an example that just has a lib and src folders I don&#039;t know exactly what to do with them.</description>
		<content:encoded><![CDATA[<p>I tried to download the updated zip from:<br /><a href="http://www.visitframe.co.uk/downloads/pv_3d_updated.zip" rel="nofollow">http://www.visitframe.co.uk/downloads/pv_3d_updated.zip</a><br />And it gives me:<br />&#8220;Four oh four!  You got here, but you ain&#39;t meant to be here&#8230;&#8221;<br />I&#39;d really like to use this example but I&#39;m such a newbie to working with AS3 and classes that when I download an example that just has a lib and src folders I don&#39;t know exactly what to do with them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://pv3d.org/2008/12/28/click-then-tween-camera-to-plane/comment-page-1/#comment-26185</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Sun, 11 Jul 2010 15:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://pv3d.org/?p=276#comment-26185</guid>
		<description>I tried to download the updated zip from:&lt;br&gt;&lt;a href=&quot;http://www.visitframe.co.uk/downloads/pv_3d_updated.zip&quot; rel=&quot;nofollow&quot;&gt;www.visitframe.co.uk/downloads/pv_3d_updated.zip&lt;/a&gt;&lt;br&gt;And it gives me:&lt;br&gt;&quot;Four oh four!  You got here, but you ain&#039;t meant to be here...&quot;&lt;br&gt;I&#039;d really like to use this example but I&#039;m such a newbie to working with AS3 and classes that when I download an example that just has a lib and src folders I don&#039;t know exactly what to do with them.</description>
		<content:encoded><![CDATA[<p>I tried to download the updated zip from:<br /><a href="http://www.visitframe.co.uk/downloads/pv_3d_updated.zip" rel="nofollow">http://www.visitframe.co.uk/downloads/pv_3d_updated.zip</a><br />And it gives me:<br />&#8220;Four oh four!  You got here, but you ain&#39;t meant to be here&#8230;&#8221;<br />I&#39;d really like to use this example but I&#39;m such a newbie to working with AS3 and classes that when I download an example that just has a lib and src folders I don&#39;t know exactly what to do with them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://pv3d.org/2008/12/28/click-then-tween-camera-to-plane/comment-page-1/#comment-23811</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Tue, 18 May 2010 03:25:58 +0000</pubDate>
		<guid isPermaLink="false">http://pv3d.org/?p=276#comment-23811</guid>
		<description>Hi,&lt;br&gt;I&#039;m stuck with the camera :(&lt;br&gt;I create a &#039;gallery&#039; made of planes, and on click I would like the camera to look at the plane and reach its coordinates...but what I get it&#039;s a rotationY-like weird effect (&lt;a href=&quot;http://www.pixoyo.no/gallery.swf&quot; rel=&quot;nofollow&quot;&gt;http://www.pixoyo.no/gallery.swf&lt;/a&gt;) :(&lt;br&gt;What&#039;s wrong with my code? Thx for any help:&lt;br&gt;&lt;br&gt;package &lt;br&gt;{&lt;br&gt;	import flash.display.MovieClip;&lt;br&gt;	import flash.display.Stage&lt;br&gt;	import org.papervision3d.core.proto.DisplayObjectContainer3D;&lt;br&gt;	import org.papervision3d.materials.ColorMaterial;&lt;br&gt;	//import flash.events.TimerEvent;&lt;br&gt;	//import flash.utils.Timer&lt;br&gt;	&lt;br&gt;&lt;br&gt;	//import org.papervision3d.materials.MovieMaterial;&lt;br&gt;	import org.papervision3d.materials.BitmapFileMaterial&lt;br&gt;	import org.papervision3d.objects.primitives.Plane;&lt;br&gt;	import org.papervision3d.view.BasicView;&lt;br&gt;	import org.papervision3d.events.FileLoadEvent;&lt;br&gt;	import org.papervision3d.objects.DisplayObject3D;&lt;br&gt;	import org.papervision3d.events.InteractiveScene3DEvent;&lt;br&gt;	 import org.papervision3d.cameras.Camera3D;&lt;br&gt;	 //&lt;br&gt;	 import gs.TweenMax&lt;br&gt;	import gs.easing.Cubic&lt;br&gt;&lt;br&gt;	//&lt;br&gt;&lt;br&gt;	import flash.display.Sprite;&lt;br&gt;	import flash.net.URLLoader;&lt;br&gt;	import flash.net.URLVariables;&lt;br&gt;	import flash.net.URLRequestMethod;&lt;br&gt;	import flash.display.Loader;&lt;br&gt;	import flash.events.Event;&lt;br&gt;	import flash.net.URLRequest;&lt;br&gt;	//&lt;br&gt;	/**&lt;br&gt;	 * ...&lt;br&gt;	&lt;br&gt;	 */&lt;br&gt;	public class Gallery extends BasicView &lt;br&gt;	{&lt;br&gt;		&lt;br&gt;		&lt;br&gt;		//&lt;br&gt;		private var lookAtMe:DisplayObject3D;&lt;br&gt;		private var lookAtTarget:DisplayObject3D;&lt;br&gt;&lt;br&gt;		&lt;br&gt;		&lt;br&gt;		public function Gallery():void &lt;br&gt;		{&lt;br&gt;			viewport.interactive = true;&lt;br&gt;			viewport.buttonMode = true;&lt;br&gt;			//&lt;br&gt;			&lt;br&gt;			//&lt;br&gt;			var camera:Camera3D = new Camera3D();&lt;br&gt;&lt;br&gt;camera.zoom = 10;&lt;br&gt;camera.focus = 100;&lt;br&gt;			//&lt;br&gt;			&lt;br&gt;			    &lt;br&gt;&lt;br&gt;			&lt;br&gt;			createGallery();&lt;br&gt;			&lt;br&gt;			startRendering();&lt;br&gt;		}&lt;br&gt;		&lt;br&gt;			private function createGallery() : void {&lt;br&gt;			&lt;br&gt;			var hRow:int = 0;&lt;br&gt;			var vRow:int = -1;&lt;br&gt;			for(var i:int = 0; i &lt; 12; i++){&lt;br&gt;				&lt;br&gt;				&lt;br&gt;				&lt;br&gt;				var pmat:ColorMaterial = new ColorMaterial(0xFF00FF,100,true);&lt;br&gt;				var p:Plane = new Plane(pmat, 300, 300, 4, 4);&lt;br&gt;                p.z = -100;&lt;br&gt;				p.id=i&lt;br&gt;				scene.addChild(p);&lt;br&gt;				//action &lt;br&gt;			p.addEventListener( InteractiveScene3DEvent.OBJECT_PRESS, planeClicked );&lt;br&gt;&lt;br&gt;				&lt;br&gt;				if(i%6 == 0){&lt;br&gt;					&lt;br&gt;					hRow = 0;&lt;br&gt;					vRow++;&lt;br&gt;					&lt;br&gt;				}&lt;br&gt;				&lt;br&gt;				p.x = hRow * 350;&lt;br&gt;				p.y = vRow * 350;&lt;br&gt;				&lt;br&gt;				hRow++;&lt;br&gt;			}&lt;br&gt;			lookAtMe = new DisplayObject3D();&lt;br&gt;			lookAtMe.z = 1000;&lt;br&gt;			lookAtTarget = new DisplayObject3D();&lt;br&gt; &lt;br&gt;			camera.target = lookAtMe;&lt;br&gt;			camera.roll(90)&lt;br&gt;//TweenMax.to (camera, 7, { x:300 } )  &lt;br&gt; &lt;br&gt;			scene.addChild(lookAtMe);&lt;br&gt;&lt;br&gt;			&lt;br&gt;		}&lt;br&gt;		&lt;br&gt;		&lt;br&gt;	&lt;br&gt;		&lt;br&gt;	 private function planeClicked(e:InteractiveScene3DEvent):void &lt;br&gt;    {&lt;br&gt;		lookAtTarget.copyTransform(e.displayObject3D);&lt;br&gt;&lt;br&gt;&lt;br&gt;        var time:Number = 1;&lt;br&gt;        var tweenObject:Object = {};&lt;br&gt;        tweenObject.x = lookAtTarget.x;&lt;br&gt;        tweenObject.y = lookAtTarget.y;&lt;br&gt;        //tweenObject.z = lookAtTarget.z;&lt;br&gt;        tweenObject.rotationX = lookAtTarget.rotationX;&lt;br&gt;        tweenObject.rotationY = lookAtTarget.rotationY;&lt;br&gt;        tweenObject.rotationZ = lookAtTarget.rotationZ;&lt;br&gt;        tweenObject.onUpdate = onSeatTween;&lt;br&gt;        tweenObject.ease = Cubic.easeInOut;&lt;br&gt;        TweenMax.to(camera, time, tweenObject);&lt;br&gt;		&lt;br&gt;    }&lt;br&gt;&lt;br&gt;    private function onSeatTween():void&lt;br&gt;    {&lt;br&gt;        camera.lookAt(lookAtMe);&lt;br&gt;    }&lt;br&gt;&lt;br&gt;		&lt;br&gt;		&lt;br&gt;		&lt;br&gt;	}&lt;br&gt;}</description>
		<content:encoded><![CDATA[<p>Hi,<br />I&#39;m stuck with the camera <img src='http://pv3d.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> <br />I create a &#39;gallery&#39; made of planes, and on click I would like the camera to look at the plane and reach its coordinates&#8230;but what I get it&#39;s a rotationY-like weird effect (<a href="http://www.pixoyo.no/gallery.swf" rel="nofollow">http://www.pixoyo.no/gallery.swf</a>) <img src='http://pv3d.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> <br />What&#39;s wrong with my code? Thx for any help:</p>
<p>package <br />{<br />	import flash.display.MovieClip;<br />	import flash.display.Stage<br />	import org.papervision3d.core.proto.DisplayObjectContainer3D;<br />	import org.papervision3d.materials.ColorMaterial;<br />	//import flash.events.TimerEvent;<br />	//import flash.utils.Timer</p>
<p>	//import org.papervision3d.materials.MovieMaterial;<br />	import org.papervision3d.materials.BitmapFileMaterial<br />	import org.papervision3d.objects.primitives.Plane;<br />	import org.papervision3d.view.BasicView;<br />	import org.papervision3d.events.FileLoadEvent;<br />	import org.papervision3d.objects.DisplayObject3D;<br />	import org.papervision3d.events.InteractiveScene3DEvent;<br />	 import org.papervision3d.cameras.Camera3D;<br />	 //<br />	 import gs.TweenMax<br />	import gs.easing.Cubic</p>
<p>	//</p>
<p>	import flash.display.Sprite;<br />	import flash.net.URLLoader;<br />	import flash.net.URLVariables;<br />	import flash.net.URLRequestMethod;<br />	import flash.display.Loader;<br />	import flash.events.Event;<br />	import flash.net.URLRequest;<br />	//<br />	/**<br />	 * &#8230;</p>
<p>	 */<br />	public class Gallery extends BasicView <br />	{</p>
<p>		//<br />		private var lookAtMe:DisplayObject3D;<br />		private var lookAtTarget:DisplayObject3D;</p>
<p>		public function Gallery():void <br />		{<br />			viewport.interactive = true;<br />			viewport.buttonMode = true;<br />			//</p>
<p>			//<br />			var camera:Camera3D = new Camera3D();</p>
<p>camera.zoom = 10;<br />camera.focus = 100;<br />			//</p>
<p>			createGallery();</p>
<p>			startRendering();<br />		}</p>
<p>			private function createGallery() : void {</p>
<p>			var hRow:int = 0;<br />			var vRow:int = -1;<br />			for(var i:int = 0; i &lt; 12; i++){</p>
<p>				var pmat:ColorMaterial = new ColorMaterial(0xFF00FF,100,true);<br />				var p:Plane = new Plane(pmat, 300, 300, 4, 4);<br />                p.z = -100;<br />				p.id=i<br />				scene.addChild(p);<br />				//action <br />			p.addEventListener( InteractiveScene3DEvent.OBJECT_PRESS, planeClicked );</p>
<p>				if(i%6 == 0){</p>
<p>					hRow = 0;<br />					vRow++;</p>
<p>				}</p>
<p>				p.x = hRow * 350;<br />				p.y = vRow * 350;</p>
<p>				hRow++;<br />			}<br />			lookAtMe = new DisplayObject3D();<br />			lookAtMe.z = 1000;<br />			lookAtTarget = new DisplayObject3D();</p>
<p>			camera.target = lookAtMe;<br />			camera.roll(90)<br />//TweenMax.to (camera, 7, { x:300 } )  </p>
<p>			scene.addChild(lookAtMe);</p>
<p>		}</p>
<p>	 private function planeClicked(e:InteractiveScene3DEvent):void <br />    {<br />		lookAtTarget.copyTransform(e.displayObject3D);</p>
<p>        var time:Number = 1;<br />        var tweenObject:Object = {};<br />        tweenObject.x = lookAtTarget.x;<br />        tweenObject.y = lookAtTarget.y;<br />        //tweenObject.z = lookAtTarget.z;<br />        tweenObject.rotationX = lookAtTarget.rotationX;<br />        tweenObject.rotationY = lookAtTarget.rotationY;<br />        tweenObject.rotationZ = lookAtTarget.rotationZ;<br />        tweenObject.onUpdate = onSeatTween;<br />        tweenObject.ease = Cubic.easeInOut;<br />        TweenMax.to(camera, time, tweenObject);</p>
<p>    }</p>
<p>    private function onSeatTween():void<br />    {<br />        camera.lookAt(lookAtMe);<br />    }</p>
<p>	}<br />}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: prashywavez</title>
		<link>http://pv3d.org/2008/12/28/click-then-tween-camera-to-plane/comment-page-1/#comment-23344</link>
		<dc:creator>prashywavez</dc:creator>
		<pubDate>Thu, 06 May 2010 15:33:12 +0000</pubDate>
		<guid isPermaLink="false">http://pv3d.org/?p=276#comment-23344</guid>
		<description>Hi , I am new to papervision3D. Can anyone help me out with this. I want my camera to rotate and move in 3d space without using singleRender() in same code snippet. Rather i want to use &quot;override protected function onRenderTick(e:Event=null)&quot;.&lt;br&gt;Please help me out this.</description>
		<content:encoded><![CDATA[<p>Hi , I am new to papervision3D. Can anyone help me out with this. I want my camera to rotate and move in 3d space without using singleRender() in same code snippet. Rather i want to use &#8220;override protected function onRenderTick(e:Event=null)&#8221;.<br />Please help me out this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://pv3d.org/2008/12/28/click-then-tween-camera-to-plane/comment-page-1/#comment-17166</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Mon, 25 Jan 2010 22:12:04 +0000</pubDate>
		<guid isPermaLink="false">http://pv3d.org/?p=276#comment-17166</guid>
		<description>Hello,

I have the same problem as Giulio and Tony and link are dead. Can you repost the solution for Flash IDE Please ?

Thanks,
Max</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I have the same problem as Giulio and Tony and link are dead. Can you repost the solution for Flash IDE Please ?</p>
<p>Thanks,<br />
Max</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcos</title>
		<link>http://pv3d.org/2008/12/28/click-then-tween-camera-to-plane/comment-page-1/#comment-12425</link>
		<dc:creator>Marcos</dc:creator>
		<pubDate>Wed, 11 Nov 2009 20:10:42 +0000</pubDate>
		<guid isPermaLink="false">http://pv3d.org/?p=276#comment-12425</guid>
		<description>Thaaaaanks!!</description>
		<content:encoded><![CDATA[<p>Thaaaaanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Camerafahrt zum Objekt - Flashforum</title>
		<link>http://pv3d.org/2008/12/28/click-then-tween-camera-to-plane/comment-page-1/#comment-11831</link>
		<dc:creator>Camerafahrt zum Objekt - Flashforum</dc:creator>
		<pubDate>Tue, 03 Nov 2009 19:52:10 +0000</pubDate>
		<guid isPermaLink="false">http://pv3d.org/?p=276#comment-11831</guid>
		<description>[...] Hab was f</description>
		<content:encoded><![CDATA[<p>[...] Hab was f</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://pv3d.org/2008/12/28/click-then-tween-camera-to-plane/comment-page-1/#comment-8634</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Thu, 17 Sep 2009 02:09:48 +0000</pubDate>
		<guid isPermaLink="false">http://pv3d.org/?p=276#comment-8634</guid>
		<description>ok, i get it works. Thanks for anyone here.

another question, if it is passible to apply a out lens focus effect with this example. or maybe just blur the planes not in the center, however, i cant get this part works.

any suggestion will be appreciated</description>
		<content:encoded><![CDATA[<p>ok, i get it works. Thanks for anyone here.</p>
<p>another question, if it is passible to apply a out lens focus effect with this example. or maybe just blur the planes not in the center, however, i cant get this part works.</p>
<p>any suggestion will be appreciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://pv3d.org/2008/12/28/click-then-tween-camera-to-plane/comment-page-1/#comment-8431</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Tue, 15 Sep 2009 14:27:07 +0000</pubDate>
		<guid isPermaLink="false">http://pv3d.org/?p=276#comment-8431</guid>
		<description>@David, cloud you please relink the FLA and AS files. it looks like be removed from your website. however, i have the same problem as Giulio had.
many many thanks~</description>
		<content:encoded><![CDATA[<p>@David, cloud you please relink the FLA and AS files. it looks like be removed from your website. however, i have the same problem as Giulio had.<br />
many many thanks~</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
