You can't apply any effects or transformations (alpha, rotation, scaling
etc.) on fonts if they are not embedded!


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

>   --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>,
> "akila_ksri" <[EMAIL PROTECTED]>
> wrote:
> >
> > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, "Amy"
> <amyblankenship@> wrote:
> > >
> > > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>,
> "akila_ksri" <akila_ksri@>
> wrote:
> > > >
> > > > Hi,
> > > >
> > > > I need to apply horizontal scaling for a text with 'Arial' font.
> > > > lbl.scaleX = 0.70 simply does not work . I can only see that
> there is
> > > a
> > > > change in the width of the label.
> > > >
> > > > Is there anything i am missing out to scale the text?? Is
> scaling not
> > > > applicable for system fonts? ( I tried the same with
> font 'Verdana',
> > > > but again, no luck!)
> > > >
> > > > Any help would be greatly appreciated.
> > >
> > > Try one of the following:
> > >
> > > 1) Set the blendMode to layer
> > > 2) Set the container's cacheAsBitmap to true
> > > 3) Embed the font
> > >
> > > HTH;
> > >
> > > Amy
> > >
> > Hi Amy,
> >
> > Thanks for your response. I tried what you suggested, embedding the
> > font and then applying scaleX to the text.
> > This works fine if the font is just 'Arial'. It does not work if i
> > make the text bold/italic. It is necessary for the font to be bold
> and
> > in italics. I cant get it to work:(
>
> Try using the blendMode setting instead. It's way simpler, and it
> won't bloat your file size.
>
> HTH;
>
> Amy
>
>  
>



-- 
Haykel Ben Jemia

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

Reply via email to