Question

I use starling framework, and I want to add flash.display.MovieClip to starling sprite?

I want to use mask on starling sprite, but I nothing found how to do this. That's why I want to use flash.diplay.MovieClip's mask method.

Thank you for your replies!

Was it helpful?

Solution

You could flatten the movieclip by drawing a 'normal' movieclip with mask to a Bitmap and use that as child inside the starling movieclip.

OTHER TIPS

No you can't if you use flatten method it will remove all its properties. It will make it as simple image. Use flatten method only for single image which doesn't have any child properties or which does not have any functionality. For these cases only flatten method will work.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top