Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-14 Thread Meinte van't Kruis
scale9 can only be applied to shapes not to movieclips or sprites etc.. So thats probably why it wont work with masks and why children of a scale9ed movieclip will still distort.. On Thu, Mar 13, 2008 at 4:01 PM, Matt S. [EMAIL PROTECTED] wrote: Speaking of Scale 9, can the Scaled MC, eg the

Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-14 Thread Meinte van't Kruis
actually, let me rephrase that, scale9 is offcourse applied to a movieclip, but it only works on shapes within this movieclip. On Fri, Mar 14, 2008 at 12:58 PM, Meinte van't Kruis [EMAIL PROTECTED] wrote: scale9 can only be applied to shapes not to movieclips or sprites etc.. So thats probably

[Flashcoders] 9-slice scaling not working when used as mask

2008-03-13 Thread Martin Klasson
Hi Flashcoders, my subject might said it all am having a mask which is a movieclip with rounded corners, but when used as a mask - the 9-slice scaling seems to be out of function. Is there a way around this, is it a bug or intentional response? The solution that I know of, but dont like - is to

Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-13 Thread eric e. dolecki
I haven't tried what you're doing, but you might be better off using the drawAPI and a method to draw your mask instead if probs continue. Thats the old-fashioned way to me. eric On Thu, Mar 13, 2008 at 8:48 AM, Martin Klasson [EMAIL PROTECTED] wrote: Hi Flashcoders, my subject might said it

Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-13 Thread Martin Klasson
Yeah, thats a solution that should work. I am not that good ar the drawing api to be making myself some great corners ;) -but I guess there is a solution for that - digging diwn and learn. thanks eric. 2008/3/13, eric e. dolecki [EMAIL PROTECTED]: I haven't tried what you're doing, but you

Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-13 Thread Cedric Muller
did you try my_mask.cacheAsBitmap = true and my_masked_movieclip.cacheAsBitmap = true ? hth, Cedric On 13/03/2008 15:15, Martin Klasson wrote: I am not that good ar the drawing api to be making myself some great corners ;) import flash.display.Shape; var my_mask:Shape=new Shape();

Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-13 Thread Kenneth Kawamoto
If you are talking about drawing a rectangle with rounded corners, there is a method drawRoundRect() - cannot be simpler ;) Kenneth Kawamoto http://www.materiaprima.co.uk/ Martin Klasson wrote: Yeah, thats a solution that should work. I am not that good ar the drawing api to be making myself

Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-13 Thread Matthew Houliston
On 13/03/2008 15:15, Martin Klasson wrote: I am not that good ar the drawing api to be making myself some great corners ;) import flash.display.Shape; var my_mask:Shape=new Shape(); my_mask.graphics.beginFill(0x99, 1); my_mask.graphics.drawRoundRect(10,10,320,240,15);

Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-13 Thread Matt S.
Speaking of Scale 9, can the Scaled MC, eg the one thats actually sitting IN the scaling movie, under the guides, have MC's within it? I've tried to use S9 as a way to control the positioning of nav items, eg, a movieclip, which itself contains multiple MCs, each of which sits in the safe zones at