thanks for your time guys henrik got it - i stored a reference to the item, it's parent and it's mask and pulled them into another sprite and grabbed that - worked a treat
private function addItemToBitmapData(item:Sprite, bmd:BitmapData, mat:Matrix):void { var itemParent:DisplayObjectContainer; var itemMask:DisplayObject; var holdingContainer:Sprite = new Sprite(); itemParent = item.parent; itemMask = item.mask; holdingContainer.addChild(item); holdingContainer.addChild(itemMask); bmd.draw(holdingContainer, mat); itemParent.addChild(item); itemParent.addChild(itemMask); } thanks again a On 28 July 2011 17:34, Ktu <ktu_fl...@cataclysmicrewind.com> wrote: > if you are using a rectangular mask, try just using scrollRect instead. > > > var container:Sprite = new Sprite() > container.addChild(myBitmap) > container.scrollRect = new Rectangle (0, 0, myBitmap.width, > myBitmap.height); > > make the rectangle whichever dimensions you care about, but that might do > it... > > > > On Thu, Jul 28, 2011 at 12:26 PM, allandt bik-elliott (thefieldcomic.com) > < > alla...@gmail.com> wrote: > > > hmm interesting - okay - i'll give that a shot > > > > best > > a > > > > On 28 July 2011 17:12, Henrik Andersson <he...@henke37.cjb.net> wrote: > > > > > Sounds like the classical "mask not being in a display list" issue, but > > in > > > a new variation. > > > > > > Ensure that both the mask and the maskee is in the container passed to > > the > > > draw call. > > > ______________________________**_________________ > > > Flashcoders mailing list > > > Flashcoders@chattyfig.figleaf.**com <Flashcoders@chattyfig.figleaf.com > > > > > http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders< > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders> > > > > > _______________________________________________ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > -- > Ktu; > > The information contained in this message may or may not be privileged > and/or confidential. If you are NOT the intended recipient, > congratulations, > you got mail! > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders