My specific requirement is skinning the scrollbar thumb.  It is drawn in Flash 
as a vector shape (the thumb itself) containing another shape (a rectangle) in 
the middle of the first one.  When the scrollbar resizes (stretches), I don't 
want the middle shape to stretch as well, but retain its shape.  Since the 
shapes are used for skinning and embedded in Flex, I don't have code to manage 
them.  So I'm still at a loss on how to prevent the resizing of the inner shape.



________________________________
From: kris range <krisra...@gmail.com>
To: flexcoders@yahoogroups.com
Sent: Friday, August 12, 2011 8:19 AM
Subject: Re: [flexcoders] scale9grid question


  
scale9grid only works in clips that only contain vector shapes...so
you can't have sub-movieclips or sprites. i don't really know your
requirements but one solution would be to create a container clip,
insert both clips as children of that one and manage both that way.

On Fri, Aug 12, 2011 at 12:57 AM, technusiast <technusi...@yahoo.com> wrote:
> I am working with Flex 3, and import a movieclip symbol from a SWF.  The 
> symbol is rectangular and has scale9 grid enabled because it has rounded 
> corners.  Inside the area of the grid where objects resize both horizontally 
> and vertically, I placed another symbol.  But I do not want this 2nd symbol 
> to resize.  I tried enabling scale9 on the 2nd symbol, and just reduce its 
> grid to a zero area (in the center) with the hope that the 2nd symbol does 
> not resize.  But the 2nd symbol still resizes when inside the first one.
>
> Any ideas how this can be done?
>
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location: 
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
>
>
>
>

 

Reply via email to