It's not working for me by setting the blendMode to layer! It only works
with the embedded fonts, as expected. Here is my test application and as you
can see, scaling is only working on the lines using the embedded font. In
the other cases, the Label control itself is scaled and is truncating the
text but not the text itself.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; layout="vertical"
horizontalAlign="left">
    <mx:Style>
        @font-face {
            src: local("Arial");
            fontFamily: myFontFamily;
            advancedAntiAliasing: true;
        }
        @font-face {
            src: local("Arial");
            fontFamily: myFontFamily;
            fontWeight: bold;
            advancedAntiAliasing: true;
        }

        @font-face {
            src: local("Arial");
            fontFamily: myFontFamily;
            fontWeight: bold;
            fontStyle: italic;
            advancedAntiAliasing: true;
        }
    </mx:Style>

    <mx:Label text="Sample Text" fontSize="32" />
    <mx:Label text="Sample Text" fontSize="32" scaleX="0.7"/>
    <mx:Label text="Sample Text" fontSize="32" scaleX="0.7"
blendMode="layer" />
    <mx:Label text="Sample Text" fontSize="32" fontFamily="myFontFamily"
scaleX="0.7"/>
    <mx:Label text="Sample Text" fontSize="32" fontFamily="myFontFamily"
fontWeight="bold" fontStyle="italic"/>
    <mx:Label text="Sample Text" fontSize="32" fontFamily="myFontFamily"
fontWeight="bold" fontStyle="italic" scaleX="0.7"/>
</mx:Application>



On Tue, Oct 21, 2008 at 4:20 PM, Amy <[EMAIL PROTECTED]> wrote:

>   --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, "Amy"
> <[EMAIL PROTECTED]> wrote:
> >
> > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>,
> "Haykel BEN JEMIA" <haykelbj@>
> > wrote:
> > >
> > > Could you post a working example? This would really interest me!
> >
> > I'll try to make time tonight :-).
>
> I updated my GroupingFunction example to show this
> http://flexdiary.blogspot.com/2008/09/groupingcollection-example-
> featuring.html
>
> HTH;
>
> Amy
>
>  
>



-- 
Haykel Ben Jemia

Allmas
Web & RIA Development
http://www.allmas-tn.com

Reply via email to