[Papervision3D] InteractiveScene3DEvent EventListener's only working sometimes!?!
Albinal
elyeball at gmail.com
Fri Sep 26 05:56:05 PDT 2008
Thanks again! The mystery is begining to unravel!
But now I'm kind of back to square one as I can't load more than one model
and the model I am loading is rotated wrong and I can see the mesh is all
pink and it doesn't have the texture! Oh the joy... I'm begining to wish I
never started! :-(
I'm off to Flash on the Beach next week so hopefully I'll pick up some
knowledge there! :-)
tmyers wrote:
>
> 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-tp19651124p19687931.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D
mailing list