I m sorry ... I was creating my mask before rendering ...
Sorry ! On 17 déc, 14:30, Ghislain Flandin <[email protected]> wrote: > Hello, > > sorry to disturb again but i'd like to know if it's possible to create > a gradient mask on an ObjectContainer3D. > > In my example, i have : > > var ctn:ObjectContainer3D = new ObjectContainer3D(); > > var spr:MaskForm = new MaskForm(); //MaskForm is a MovieClip with > gradient > > .... > > spr.cacheAsBitmap = true; > ctn.session.getContainer(myView).cacheAsBitmap = true; > ctn.session.getContainer(myView).mask = spr; > > I have a mask but no gradient mask ... > > I tried it width a "normal" movieclip in another example and it > works ... > > Thanks for your help ! > > Ghislain
