[flexcoders] Re: Drawing shapes with holes and applyng them as mask in AS3

2008-08-30 Thread Amy
--- In flexcoders@yahoogroups.com, gabriela.perry [EMAIL PROTECTED] wrote: Hi, Troy. It works if I apply it as a circle or a rectangle... What I need is a rectangle with a hole in the middle. If you set a solid fill, then draw a rectangle, then drwa a circle, then put it on the stage

[flexcoders] Re: Drawing shapes with holes and applyng them as mask in AS3

2008-08-29 Thread gabriela.perry
Hi, Troy. It works untill you apply it as a mask... I had allready found it here: http://flashonthecheap.com/advanced/more-on-graphics-in-actionscript-3/ I think it has to work somehow... we've been doing this with movieclips for years... Im working on it. As soon as I have a solution Ill let you

Re: [flexcoders] Re: Drawing shapes with holes and applyng them as mask in AS3

2008-08-29 Thread Troy Gilbert
It works until you apply it as a mask... It must work as a mask because that's exactly how I use it in my code, to cut a circle out a box. What results do you get when you use it as a mask? Troy.

[flexcoders] Re: Drawing shapes with holes and applyng them as mask in AS3

2008-08-29 Thread gabriela.perry
Hi, Troy. It works if I apply it as a circle or a rectangle... What I need is a rectangle with a hole in the middle. If you set a solid fill, then draw a rectangle, then drwa a circle, then put it on the stage (addChild), you have the effect Im after (the rect with the hole). But when I apply it