> Am I missing something here or do behaviours purely only work 
> for imported Shockwave3D fiels and not Shockwave3D files 
> created in Lingo..

I'm guessing that the behaviors are referencing the camera on
beginSprite, then some time after that you are calling resetWorld()
which then invalidates the behavior-stored camera references (sets them
to VOID) causing these errors. The thing you might be "missing" here is
that references to objects in your 3D world do not survive calls to
resetWorld() even if the object does. Is there any chance that you're
calling resetWorld() after the behaviors receive their beginSprite
events? If so then the solution options are to (a) not call resetWorld()
after the beginSprite event occurs (or until after the point the
behavior references the camera - I believe that's on beginSprite), or to
(b) update the behaviors so that they check to see if pCamera is VOID
before accessing any properties/methods, if it is then you have it store
a "fresh" camera object reference.


Cheers,
Tom Higgins - Technical Product Manager
Macromedia Director & the Shockwave Player
http://weblogs.macromedia.com/thiggins/

... 

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to