20132177 / papervision3d

Automatically exported from code.google.com/p/papervision3d
0 stars 0 forks source link

bug in MouseEvents (MOUSE_OVER and MOUSE_OUT) on interactive MovieMaterials #180

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download sample here: 
http://www.wastedpotential.com/downloads/PV_BUG_SAMPLE.zip
2. Read the Readme.txt file and play with the sample FLA 

What is the expected output? What do you see instead?
When I add a movieclip with MouseEvents assigned to it as a MovieMaterial,
the MOUSE_OVER and MOUSE_OUT events fire incorrectly when the mouse enters
or leaves the plane (more details in Readme.txt file).

What version of the product are you using? On what operating system?
I am using the latest SVN revision(896)- included in ZIP file

Please provide any additional information below.
The movieclip's MOUSE_OVER event fires when the mouse LEAVES the plane (It
is backwards), even if the button doesn't cover the whole plane. The
movieclip's MOUSE_OUT event fires when the mouse ENTERS the plane. Thes
events should not fire at all in these cases.

Original issue reported on code.google.com by andy.wat...@gtempaccount.com on 19 Mar 2009 at 2:28

GoogleCodeExporter commented 8 years ago
Hey, just a quick update...

I have not had time to look into this PV3D issue, but I have noticed a similar 
bug in
a flash program I'm writing and I suspect that the issue with PV3D may be 
similar...

I created a program that used my BasicButton class (same as above) on several
buttons. The buttons started acting buggy (similar to the way the PV3D is 
acting in
my sample) and I found that my problem was this:

I was replacing the mouse cursor with a movieclip from the library and that 
movieclip
was interfering with my BasicButton MouseEvents! I added a line of code to set 
the
mouseEnabled=false on the new movieclip cursor and it fixed the issue!

Doesn't PV3D use a virtual mouse for these MovieMaterial MouseEvents? I'm 
wondering
if the virtual mouse is interfering in the same way?

Thanks,
Andy

Original comment by andy.wat...@gtempaccount.com on 27 Mar 2009 at 9:33

GoogleCodeExporter commented 8 years ago
John - could you take a look?

Original comment by azu...@gmail.com on 30 Mar 2009 at 2:10