You may just mask the viewport if you only want to mask the whole
view.

viewport.mask = stageMask

On Feb 3, 4:06 am, Rob Bateman <[email protected]> wrote:
> not sure what you're trying to do Alex, but i do know that cacheAsBitmap is
> controlled by the session on the sprite container of an ownCanvas object, so
> i don't think you'll be able to rely on settign it manually. probably best
> to do any masking on your own sprite - say a container wrapper around the
> view sprite
>
> Rob
>
>
>
>
>
> On Tue, Feb 2, 2010 at 12:00 AM, AlexS <[email protected]> wrote:
> > Hi Peter,
> > I've tried the following:
>
> > stageMask.cacheAsBitmap = true;
> > planeContainer.session.getContainer(view).cacheAsBitmap = true;
> > planeContainer.session.getContainer(view).mask = stageMask;
> > view.mask = stageMask;
>
> > which doesnt seem to work, I also noticed different results(both dont
> > work) if the stageMask movieclip is a flash generated gradient and
> > when its a png file.
>
> > Is what I'm trying achievable?
>
> > thanks,
> > Alex
>
> --
> Rob Bateman
> Flash Development & Consultancy
>
> [email protected]

Reply via email to