Hi, I need to use MovieClip and it need to crop when MovieClip moves outside the container area. What is the best way for it?
MovieClip Cropping(6 posts) (3 voices)
Maybe Starling supports masks?
clipRect is probably what you need to clip the content of your container.
ok, thanks. Will trying fastest method
Hm, I tried to test constructions like this on Image and it works strangely - Image was not masked, but its content was resized partially.
image.setTexCoords(0, new Point(0.25, 0.25)); image.setTexCoords(1, new Point(0.75, 0.25)); image.setTexCoords(2, new Point(0.25, 0.75));
I want to attach mask to the tween. And can I use setTexCoords in Feathers? clipRect works ok with it.
P.S. Is there a page with the detailed information about masks? I found too many info.
including asian wiki http://www.starlinglib.com/wiki/News%3aStarling_PageFlip etc
You must log in to post.