your clash_mc in lib must have class type Movieclip (blue icon instead of green)
or may be you have declare it as Sprite
Fabrice On Aug 27, 2009, at 2:49 PM, dorianleynen wrote:
Hello, I'm new to away3d and I try to use a movieclip that is inside my library (flash cs4/as3) as a material for a plane. This movieclip is exported from as in frame 1. The name of this clip is "clash_mc". When I try to use: var clash_material:MovieMaterial=new MovieMaterial(clash_mc); I've the following error: "1067: Implicit coercion of a value of type Class to an unrelated type flash.display:Sprite.
