Are you sizing the assets directly or are they wrapped by Image or
something like that?  I don't think scale9 is recursive.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Ingram
Sent: Wednesday, December 12, 2007 1:40 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Scale 9 not being picked up

 

We have one main assets swf which contains multiple symbols. We
reference several of these references and the designer has applied
scale-9 to each of the symbols - but when it comes to viewing them in
Flex, the scale-9 doesn't work (it just stretches normally).

 

Mark

 

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of scalenine
Sent: 11 December 2007 19:08
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Scale 9 not being picked up

 

Are you using bitmaps as skins in your Flash file? If so, I don't
believe scale-9 will punch through to those bitmaps in either
scenario. You would have to pull those bitmaps out of the Flash file
as separate assets.

Regarding the arrow getting stretched, are you using Flex 2? The
reason I ask is because in Flex 2 the arrow icon has to be part of the
ComboBox, thus it will stretch even with scale-9 applied to it. You
could try to change this by setting both vertical scale grids above o
below the arrow. However, if you are using rounded corner those would
end up getting stretched. Other wise you might have to create
different skins for ComboBoxes with different heights.

I believe the issue is being resolved in Flex 3 with a new property
called arrowIcon making the icon separate from the skin so the skin
scales separately from the arrowIcon.

I'm not sure about the ScrollBars. I've found that sometime adjusting
the scale grids on the ScrollBar arrow skins can fix the issue.

HTH,

Juan

scalenine.com : degrafa.com : ocflex.org : branddoozie.com :
atomiccurve.com

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, "Mark Ingram" <[EMAIL PROTECTED]> wrote:
>
> I've also had trouble with this. I can't get scale-9 with flash assets
> to work at all (either by setting scale-9 via CS3 or by setting
scale-9
> in stylesheet). 
> 
> 
> 
> 
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of polestar11
> Sent: 11 December 2007 08:58
> To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Scale 9 not being picked up
> 
> 
> 
> Hi There
> 
> Does anyone have any idea why flash symbols for skinned controls with
> scale-9 would not be picked up? Specifically arrows for the ComboBoxes
> and Scrollbars. Scaling the resources in Flash also results in the
> arrow symbols being scaled incorrectly with no scale-9.
> 
> Cheers
> Tracy
>

 

Reply via email to