ywywdh / papervision3d

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

no double click event or interactiveScene3D event fired on movieMaterials #202

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create new cube with movieMaterials as the sides (load properly linked,
doubleClickEnabled movieclips from the library when creating the
movieMaterials)
2. add eventlisteners to handle double click events
3. trace that the event has indeed fired

What is the expected output? What do you see instead?
i expect to see the event fired

What version of the product are you using? On what operating system?
mac 10.5, pv3d 2.0.883, flash cs3

Please provide any additional information below.

i set the mouseChildern to false on the movieclips. i even created a
separate class that extends movieclip that sets doubleClickEnabled to true
and mouseChildern to false in the linkage of the movieClip.

the annoying part is that the regular click event fires just fine. its the
doubleClick that doesn't. when i add the movieClips to the stage the events
work, its only when they are rendered on the cube that they suddenly lose
their ability to doubleClick. i also tried to listen for an interactive
object mouseEvent with no luck. is this something to do with virtual mouse?
where do i set doubleClickEnabled to true? i need help this is really
getting to me...

Original issue reported on code.google.com by owen.co...@gmail.com on 22 Jun 2009 at 4:51

Attachments:

GoogleCodeExporter commented 9 years ago
Was a solution found for this bug?

Original comment by gushigu...@gmail.com on 10 Nov 2009 at 2:51

GoogleCodeExporter commented 9 years ago
Was a solution found for this bug? [2]

Original comment by brunobor...@gmail.com on 28 Jun 2010 at 1:35

GoogleCodeExporter commented 9 years ago
Yes, well sort-of, actually its not a problem with PV3D but rather the nature 
of 3D orientation itself.  

The first click takes place in a certain point in 3D space.  Then, since the 
cube is moving (even ever so slightly), the second click takes place at a 
different point in 3D space therefore ruining the double-clickedness of the 2 
clicks. 

I resolved to change the design and cut the unnecessary double-click feature 
out.

Original comment by owen.co...@gmail.com on 28 Jun 2010 at 1:48