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
, 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
Hi Amy,
I remember something weird about this, try loosing the apostrophe's around
the numbers.
[Embed(source='images/window.png', scaleGridTop=40,
scaleGridBottom=185, scaleGridLeft=300, scaleGridRight=585)]
Mike
--
Teoti Graphix, LLC
http://www.teotigraphix.com
Teoti Graphix Blog
On Sep 23, 2008, at 10:55 AM, Amy wrote:
mx:Image id=backgroundImage source={windowImage} width=1000 /
You're missing the height parameter. I think this is necessary -
either as a percent or static value - to force the image component
resize.
You can also try adding scaleContent=true
On Sep 23, 2008, at 11:02 AM, Michael Schmalle wrote:
I remember something weird about this, try loosing the apostrophe's
around the numbers.
Good catch.
I haven't run into that in a long time probably because I've been
setting this stuff through AS now (or skins).
- j
I know there are places where scale9 doesn't work. For some reason I
can never remember them.
However, in this case, I would try waiting for complete event then
waiting for updateComplete (you'll get an updateComplete before
complete too so ignore that one).
It sounds like you're creating a custom scale9 which isn't necessary.
http://www.adobe.com/devnet/flex/articles/flex_skins_07.html (best article
yet for skinning; that I've read, at least)
That page shows you how to use CSS to utilize scale9. Hope it helps...
On 1/31/07, Janis Radins [EMAIL
Thanks for reply, but i guess that's not exactly what I need.
I'm making resize frame, so I just need to stick 4 corners in they positions
and sides at full height. So this is not exactly skinning thing.
And i don't think this is custom scale9, custom would be if I would resize
all objects
8 matches
Mail list logo