<?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: 7. Basic Mouse Interaction</title>
	<atom:link href="http://papervision2.com/7-basic-mouse-interaction/feed/" rel="self" type="application/rss+xml" />
	<link>http://papervision2.com/7-basic-mouse-interaction/</link>
	<description>Papervision2.com - Best resource for Papervision3d tutorials</description>
	<lastBuildDate>Fri, 12 Mar 2010 01:15:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Gonzo</title>
		<link>http://papervision2.com/7-basic-mouse-interaction/comment-page-1/#comment-29049</link>
		<dc:creator>Gonzo</dc:creator>
		<pubDate>Mon, 11 Jan 2010 10:42:34 +0000</pubDate>
		<guid isPermaLink="false">http://papervision2.com/7-basic-mouse-interaction/#comment-29049</guid>
		<description>Hi...
I generate 4 planes and their materials with a for cycle (from ...but when I click on them their name are starting from 6 to 9 instead of 1-4...why?
here&#039;s the code:
//// start
var menuItems:Number=4
			var menuLabels:Array=new Array(&#039;Abcd&#039;,&#039;Abcdacbd&#039;, &#039;Accabcab&#039;, &#039;abc&#039;)
			for (var i:Number=1;i&lt;menuItems+1;i++){
	
			root[&#039;my_menuItem&#039;+i].title_mc.title_txt.text=menuLabels[i-1]
			root[&#039;menuItem_material&#039;+i]=new MovieMaterial(root[&#039;my_menuItem&#039;+i],true);
			root[&#039;menuItem_material&#039;+i].interactive=true;
			
			root[&#039;menuItem_material&#039;+i].movieTransparent = true;
			root[&#039;menuItem_material&#039;+i].animated = true;
			root[&#039;menuItem_material&#039;+i].smooth = true;
			root[&#039;menuItem_material&#039;+i].precise = true;
			root[&#039;menuItem_plane&#039;+i]=new Plane(root[&#039;menuItem_material&#039;+i],250,50,34+i,35+i);
			
			root[&#039;menuItem_plane&#039;+i].x=500
			root[&#039;menuItem_plane&#039;+i].y=-50-(60*i)
			root[&#039;menuItem_plane&#039;+i].z=-100
			trace (&#039;plane  &#039;+root[&#039;menuItem_plane&#039;+i])
			
			
			root[&#039;menuItem_plane&#039;+i].addEventListener(InteractiveScene3DEvent.OBJECT_CLICK,on_item_clicked);

			scene.addChild(root[&#039;menuItem_plane&#039;+i]);
			///
			
			}
//// end
the output it&#039;s
plane  6: x:500 y:-110 z:-100
plane  7: x:500 y:-170 z:-100
plane  8: x:500 y:-230 z:-100
plane  9: x:500 y:-290 z:-100</description>
		<content:encoded><![CDATA[<p>Hi&#8230;<br />
I generate 4 planes and their materials with a for cycle (from &#8230;but when I click on them their name are starting from 6 to 9 instead of 1-4&#8230;why?<br />
here&#8217;s the code:<br />
//// start<br />
var menuItems:Number=4<br />
			var menuLabels:Array=new Array(&#8216;Abcd&#8217;,'Abcdacbd&#8217;, &#8216;Accabcab&#8217;, &#8216;abc&#8217;)<br />
			for (var i:Number=1;i&lt;menuItems+1;i++){</p>
<p>			root[&#039;my_menuItem&#039;+i].title_mc.title_txt.text=menuLabels[i-1]<br />
			root[&#039;menuItem_material&#039;+i]=new MovieMaterial(root[&#039;my_menuItem&#039;+i],true);<br />
			root[&#039;menuItem_material&#039;+i].interactive=true;</p>
<p>			root[&#039;menuItem_material&#039;+i].movieTransparent = true;<br />
			root[&#039;menuItem_material&#039;+i].animated = true;<br />
			root[&#039;menuItem_material&#039;+i].smooth = true;<br />
			root[&#039;menuItem_material&#039;+i].precise = true;<br />
			root[&#039;menuItem_plane&#039;+i]=new Plane(root[&#039;menuItem_material&#039;+i],250,50,34+i,35+i);</p>
<p>			root[&#039;menuItem_plane&#039;+i].x=500<br />
			root[&#039;menuItem_plane&#039;+i].y=-50-(60*i)<br />
			root[&#039;menuItem_plane&#039;+i].z=-100<br />
			trace (&#039;plane  &#039;+root[&#039;menuItem_plane&#039;+i])</p>
<p>			root[&#039;menuItem_plane&#039;+i].addEventListener(InteractiveScene3DEvent.OBJECT_CLICK,on_item_clicked);</p>
<p>			scene.addChild(root[&#039;menuItem_plane&#039;+i]);<br />
			///</p>
<p>			}<br />
//// end<br />
the output it&#039;s<br />
plane  6: x:500 y:-110 z:-100<br />
plane  7: x:500 y:-170 z:-100<br />
plane  8: x:500 y:-230 z:-100<br />
plane  9: x:500 y:-290 z:-100</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie</title>
		<link>http://papervision2.com/7-basic-mouse-interaction/comment-page-1/#comment-28903</link>
		<dc:creator>Charlie</dc:creator>
		<pubDate>Wed, 06 Jan 2010 15:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://papervision2.com/7-basic-mouse-interaction/#comment-28903</guid>
		<description>@Peter - this tutorial has been updated to extend BasicView. I left old tutorials in case someone wanted to reference them later.
Here is the updated tutorial:
http://papervision2.com/basic-mouse-interaction-v2/</description>
		<content:encoded><![CDATA[<p>@Peter &#8211; this tutorial has been updated to extend BasicView. I left old tutorials in case someone wanted to reference them later.<br />
Here is the updated tutorial:<br />
<a href="http://papervision2.com/basic-mouse-interaction-v2/" rel="nofollow">http://papervision2.com/basic-mouse-interaction-v2/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://papervision2.com/7-basic-mouse-interaction/comment-page-1/#comment-28901</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Wed, 06 Jan 2010 14:58:17 +0000</pubDate>
		<guid isPermaLink="false">http://papervision2.com/7-basic-mouse-interaction/#comment-28901</guid>
		<description>man im noob why is it extending PaperBase and not BasicView i have coded already in basicView. do i have to change?</description>
		<content:encoded><![CDATA[<p>man im noob why is it extending PaperBase and not BasicView i have coded already in basicView. do i have to change?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blagoratory &#187; Blog Archive &#187; “Hip to be Square?” Building a Rotating Video Cube in Papervision 3D.</title>
		<link>http://papervision2.com/7-basic-mouse-interaction/comment-page-1/#comment-19859</link>
		<dc:creator>Blagoratory &#187; Blog Archive &#187; “Hip to be Square?” Building a Rotating Video Cube in Papervision 3D.</dc:creator>
		<pubDate>Wed, 30 Sep 2009 22:40:14 +0000</pubDate>
		<guid isPermaLink="false">http://papervision2.com/7-basic-mouse-interaction/#comment-19859</guid>
		<description>[...] Flash Video Streaming &gt;&gt;&gt; Papervision Mouse Rotation  Posted in About, Papervision 3D Engine &#124;   RSS feed for comments on this post. TrackBack [...]</description>
		<content:encoded><![CDATA[<p>[...] Flash Video Streaming &gt;&gt;&gt; Papervision Mouse Rotation  Posted in About, Papervision 3D Engine |   RSS feed for comments on this post. TrackBack [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neogine</title>
		<link>http://papervision2.com/7-basic-mouse-interaction/comment-page-1/#comment-19025</link>
		<dc:creator>Neogine</dc:creator>
		<pubDate>Sat, 12 Sep 2009 21:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://papervision2.com/7-basic-mouse-interaction/#comment-19025</guid>
		<description>thanks it&#039;s working perfectly</description>
		<content:encoded><![CDATA[<p>thanks it&#8217;s working perfectly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zach</title>
		<link>http://papervision2.com/7-basic-mouse-interaction/comment-page-1/#comment-14626</link>
		<dc:creator>zach</dc:creator>
		<pubDate>Fri, 29 May 2009 21:25:39 +0000</pubDate>
		<guid isPermaLink="false">http://papervision2.com/7-basic-mouse-interaction/#comment-14626</guid>
		<description>Is there a way just to have the code and replace the collada files? just to switch objects faster. i know of coarse you&#039;ll have to change the code a little replacing &quot;cow&quot; with whatever. but is there that possibility? 
zach@fivestonestudios.com</description>
		<content:encoded><![CDATA[<p>Is there a way just to have the code and replace the collada files? just to switch objects faster. i know of coarse you&#8217;ll have to change the code a little replacing &#8220;cow&#8221; with whatever. but is there that possibility?<br />
<a href="mailto:zach@fivestonestudios.com">zach@fivestonestudios.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adam</title>
		<link>http://papervision2.com/7-basic-mouse-interaction/comment-page-1/#comment-10965</link>
		<dc:creator>adam</dc:creator>
		<pubDate>Wed, 01 Apr 2009 03:04:21 +0000</pubDate>
		<guid isPermaLink="false">http://papervision2.com/7-basic-mouse-interaction/#comment-10965</guid>
		<description>please put the following line at the beginning of function processFrame:

			if (stage.width &lt;= 0 &#124;&#124; stage.height &lt;= 0) {
				return;
			}

When this function is called before initialization, cow and camera posstion will be a NaN, causing a white screen.</description>
		<content:encoded><![CDATA[<p>please put the following line at the beginning of function processFrame:</p>
<p>			if (stage.width &lt;= 0 || stage.height &lt;= 0) {<br />
				return;<br />
			}</p>
<p>When this function is called before initialization, cow and camera posstion will be a NaN, causing a white screen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nestos</title>
		<link>http://papervision2.com/7-basic-mouse-interaction/comment-page-1/#comment-9926</link>
		<dc:creator>nestos</dc:creator>
		<pubDate>Wed, 18 Mar 2009 14:30:16 +0000</pubDate>
		<guid isPermaLink="false">http://papervision2.com/7-basic-mouse-interaction/#comment-9926</guid>
		<description>distanceTo() is defined in the DisplayObject3D class

but there is still something to fix in this movement

antyway, great tutos here !</description>
		<content:encoded><![CDATA[<p>distanceTo() is defined in the DisplayObject3D class</p>
<p>but there is still something to fix in this movement</p>
<p>antyway, great tutos here !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jaziel</title>
		<link>http://papervision2.com/7-basic-mouse-interaction/comment-page-1/#comment-6143</link>
		<dc:creator>jaziel</dc:creator>
		<pubDate>Fri, 16 Jan 2009 03:03:34 +0000</pubDate>
		<guid isPermaLink="false">http://papervision2.com/7-basic-mouse-interaction/#comment-6143</guid>
		<description>thanks for the reply. took me the whole night to figure out what&#039;s wrong.

since I&#039;m building it with flex. 

just 30 seconds ago. when I execute the .swf files instead of launching the HTML on IE7 it worked. I didn&#039;t change anything but it worked.

My guess was just either IE7 was not in the mood last night or the Sever&#039;s been slow.</description>
		<content:encoded><![CDATA[<p>thanks for the reply. took me the whole night to figure out what&#8217;s wrong.</p>
<p>since I&#8217;m building it with flex. </p>
<p>just 30 seconds ago. when I execute the .swf files instead of launching the HTML on IE7 it worked. I didn&#8217;t change anything but it worked.</p>
<p>My guess was just either IE7 was not in the mood last night or the Sever&#8217;s been slow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie</title>
		<link>http://papervision2.com/7-basic-mouse-interaction/comment-page-1/#comment-6114</link>
		<dc:creator>Charlie</dc:creator>
		<pubDate>Thu, 15 Jan 2009 19:51:21 +0000</pubDate>
		<guid isPermaLink="false">http://papervision2.com/7-basic-mouse-interaction/#comment-6114</guid>
		<description>Hey Jaziel,

The code should not be broken. I just personally ran a test from scratch. Please ensure you&#039;re using the latest papervision classes. 

You can download them from SVN here:
http://code.google.com/p/papervision3d/source/checkout

or I went ahead and compiled a zip of the latest for you:
http://papervision2.com/download/papervision/papervision-classes.zip

Please also make sure that you&#039;re using the latest paperbase class found here:
http://papervision2.com/PaperBase.as</description>
		<content:encoded><![CDATA[<p>Hey Jaziel,</p>
<p>The code should not be broken. I just personally ran a test from scratch. Please ensure you&#8217;re using the latest papervision classes. </p>
<p>You can download them from SVN here:<br />
<a href="http://code.google.com/p/papervision3d/source/checkout" rel="nofollow">http://code.google.com/p/papervision3d/source/checkout</a></p>
<p>or I went ahead and compiled a zip of the latest for you:<br />
<a href="http://papervision2.com/download/papervision/papervision-classes.zip" rel="nofollow">http://papervision2.com/download/papervision/papervision-classes.zip</a></p>
<p>Please also make sure that you&#8217;re using the latest paperbase class found here:<br />
<a href="http://papervision2.com/PaperBase.as" rel="nofollow">http://papervision2.com/PaperBase.as</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
