I think this only applies to symbols made with vector shapes. For
bitmaps, this doesn't work as supposed.
9-slice works for embed bitmaps using metadata on Flex 2, but it doesn't
work for bitmaps on Flash CS3.
I don't know if this is a bug, or if there's a valid reason for it, but
it's a feature i definitely miss...
João Saleiro
Mike Krotscheck wrote:
If the embedded asset is set up with 9-slice scaling (in Flash), Flex
will automatically pick up on it without any fancy metatags.
**Michael Krotscheck**
Senior Developer
**RESOURCE INTERACTIVE**
www.resource.com <http://www.resource.com>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
------------------------------------------------------------------------
*From:* [email protected]
[mailto:[EMAIL PROTECTED] *On Behalf Of *Firdosh Tangri
*Sent:* Thursday, September 27, 2007 5:26 PM
*To:* [email protected]
*Subject:* [flexcomponents] Embed components from swf with scale9 into
flex
Hey guys,
so in Flex if I do a
upSkin: Embed("MyPng",
scaleGridTop=5,scaleGridBottom=20,scaleGridLeft=23,scaleGridRight=72);
and specify how to scale the image.
Now if I have the same image embeded in a swf file with some linkage
id myImage
upSkin: Embed(source ="MyPngSWF.swf", symbol="myImage");
is it possible to tell flex somehow how to scale this asset ??..
thanks
cheers
firdosh