0 Replies Latest reply on Aug 8, 2007 1:53 AM by DrEv1l

    Instantiation attempted on a non-constructor

    DrEv1l Level 1
      import org.papervision3d.materials.utils.BitmapMaterialTools;

      private var sphereMaterial :BitmapMaterial;

      sphereMaterial = BitmapMaterialTools.createBitmapMaterial(sphereCompleteMap);

      I get the this error on the last line :
      TypeError: Error #1007: Instantiation attempted on a non-constructor.
      at org.papervision3d.materials.utils::BitmapMaterialTools$/getTexture()
      at org.papervision3d.materials.utils::BitmapMaterialTools$/createBitmapMaterial()
      at ConeDisplay2$iinit()

      any idea's?

      thx in advance