Results 1 to 3 of 3

Thread: TypeError: Error #1009 with rollover

  1. #1
    Junior Member
    Join Date
    May 2009
    Posts
    6

    TypeError: Error #1009 with rollover

    When I import like that:
    Code :
    collada60=new Collada("60sided.dae");

    When I assign material, like thtat

    Code :
    var ml48 : MaterialsList = new MaterialsList();
    			ml48.addMaterial(mat, "MGLColor0"); 
    collada60=new Collada("60sided.dae",ml60,1,0);

    Then when I rollover the object with mouse, I got this message:

    TypeError: Error #1009: Il est impossible d'accéder à la propriété ou à la méthode d'une référence d'objet nul.
    at org.papervision3d.core.render.command::RenderTrian gle/deepHitTest()
    at org.papervision3d.core.render.command::RenderTrian gle/hitTestPoint2D()
    at org.papervision3d.view::Viewport3D/hitTestPoint2D()
    at org.papervision3d.core.utils::InteractiveSceneMana ger/resolveRenderHitData()
    at org.papervision3d.core.utils::InteractiveSceneMana ger/updateRenderHitData()
    at org.papervision3d.view::Viewport3D/updateAfterRender()
    at org.papervision3d.render::BasicRenderEngine/doRender()
    at org.papervision3d.render::BasicRenderEngine/renderScene()
    at Base3D/monEnterFrame()

    Any help ?

  2. #2
    Junior Member
    Join Date
    Dec 2008
    Location
    England, United Kingdom
    Posts
    18

    Re: TypeError: Error #1009 with rollover

    This looks like a problem relating to papervision 3d, I would recommend checking the papervision 3d forums for more information on this.

    Regards,
    Adam

  3. #3
    Junior Member
    Join Date
    May 2009
    Posts
    6

    Re: TypeError: Error #1009 with rollover

    Acutally if I just do like that:

    collada60=new Collada("60sided.dae",ml60);
    I don't have the rollover problem anymore.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •