Rob,

Could it be an inheritance thing... BitmapMaterial has a declaration
of

    arcane var _color:uint = 0xffffff;

and BitmapMaterial eventually inherits from WireColorMaterial which
has a declaration of

   protected var _color:uint;

hence the ambiguity.

Greg

On Apr 28, 6:47 pm, Rob Bateman <[email protected]> wrote:
> This could be caused by a number of things - most likely a duplicate
> classpath pointing to an older version of the source in your project files.
> rest assured that this is not something you should be seeing! if you can't
> seem to locate the problem, try starting of with a new empty project folder
> and adding things gradually, checking for compile errors along the way
>
> Rob
>
> On Wed, Apr 28, 2010 at 9:59 AM, colouredfunk
> <[email protected]>wrote:
>
>
>
>
>
> > Hi,
>
> > I've just updated my SVN away3d source code, but now when I compile my
> > project i get the following error:
>
> > \~CodeSources\3DEngines\Away3D\snv\trunk\fp10\Away3D\src\away3d
> > \materials\BitmapMaterial.as(268): col: 32 Error: Ambiguous reference
> > to _color.
> > if (_alpha == 1 && _color == 0xFFFFFF) {
> > ^
> > \~CodeSources\3DEngines\Away3D\snv\trunk\fp10\Away3D\src\away3d
> > \materials\BitmapMaterial.as(443): col: 11 Error: Ambiguous reference
> > to _color.
> > return _color;
> > ^
> > \~CodeSources\3DEngines\Away3D\snv\trunk\fp10\Away3D\src\away3d
> > \materials\BitmapMaterial.as(447): col: 8 Error: Ambiguous reference
> > to _color.
> > if (_color == val)
> > ^
> > \~CodeSources\3DEngines\Away3D\snv\trunk\fp10\Away3D\src\away3d
> > \materials\BitmapMaterial.as(451): col: 22 Error: Ambiguous reference
> > to _color.
> > _red = ((_color & 0xFF0000) >> 16)/255;
> > ^
> > \~CodeSources\3DEngines\Away3D\snv\trunk\fp10\Away3D\src\away3d
> > \materials\BitmapMaterial.as(452): col: 24 Error: Ambiguous reference
> > to _color.
> > _green = ((_color & 0x00FF00) >> 8)/255;
> > ^
> > \~CodeSources\3DEngines\Away3D\snv\trunk\fp10\Away3D\src\away3d
> > \materials\BitmapMaterial.as(453): col: 22 Error: Ambiguous reference
> > to _color.
> > _blue = (_color & 0x0000FF)/255;
> > ^
> > Build halted with errors (fcsh).
>
> > Is this an error on Away3d's part or am I missing something?
>
> > Thanks!!
>
> --
> Rob Bateman
> Flash Development & Consultancy
>
> [email protected]

Reply via email to