[Papervision3D] InteractiveScene3DEvent EventListener's only working sometimes!?!

tmyers tmyers at vodafone.ie
Fri Sep 26 05:24:38 PDT 2008


Ian,

You are probably getting that error because you are using an older revision
of great white and the recursive functionality isn't available. Try
downloading the latest PV3D Beta 2.

its available here
http://papervision3d.googlecode.com/files/Papervision3D_2.0_beta_1_src.zip

Notice FreeCamera3D will no longer be available. So change to Camera3D.

Also your current syntax is just causing you all sorts of problems when
online. You see the number 14 (see below) is an internal id that is
generated at runtime...so it may change depending on the order the objects
are added to the display list.

getChildByName("14").addEventListener( InteractiveScene3DEvent.OBJECT_OVER,
onBUYOver );

That means when you are running this online the dae could have an id of 15
or 13 depending on how fast or slow other objects in you application
download. So the event listeners may not get attached to the intended
objects in your scene.

hope that solves it :)  
-- 
View this message in context: http://www.nabble.com/InteractiveScene3DEvent-EventListener%27s-only-working-sometimes%21-%21-tp19651124p19687420.html
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list