Thanks Ben, that worked!!!

var movieClip:MovieClip = new MovieClip();
movieClip.addChild(video); //video with the webcam attach
var movieMaterial:MovieMaterial = new
MovieMaterial(movieClip,{smooth:true,precision:8});
videoPlane = new
Plane({material:movieMaterial,width:camWidth,height:camHeight,segmentsW:2,segmentsH:2,ownCanvas:true});


On Thu, Jul 2, 2009 at 5:23 PM, ben <[email protected]> wrote:

>
> "i tried with videomaterial but it seems that the type is not
> compatible with
> video from the webcam. " Sure it does, videoMaterial is not set for
> that.
>
> I was not talking about videoMaterial but to display your video output
> in a movieclip and create a moviematerial from this movieclip
> movie material draws a bitmap every frame no ?
> if you display your video output in a movieClip and then use this
> movieclip to create a movieMaterial...that should work.
> does it make sens ??
>

Reply via email to