That error is saying that the method addMaterial() doesnt exist in
BitmapMaterialContainer. I looked in my latest away3d version and I found
this:

 public function addMaterial(material:ILayerMaterial):void
        {
            material.addOnMaterialUpdate(onMaterialUpdate);
            materials.push(material);

            _faceDirty = true;
        }

meaning... you probably have an older version. If you think that might be
the case, updating to the latest away3d revision should solve your problem.

=)

On Wed, Dec 3, 2008 at 7:20 PM, JoeyMac <[EMAIL PROTECTED]> wrote:

>
> I have a BitmapMaterialContainer and I don't seem to be able to use
> the addMaterial() method. When I try, to add a material I get the
> following error:
>
> 1061: Call to a possibly undefined method addMaterial through a
> reference with static type away3d.materials:BitmapMaterialContainer.

Reply via email to