Thanks.
But i guess my problem is something else.
I am changing style of a textarea using setStyle

myTextArea.setStyle('fontFamily',someObj);

now the problem here is the way 'fontFamily' is chnaged.I have got the
embedded font.But the object is not showing fontFamily property.Its
showing fontStyle(italic,bold) n all other properties.This i found out
while debugging.
I think i have to u'std what data i get whne i embedd a TTF from the
system.
Please share ur ideas.

On Mar 19, 11:59 am, arvind <[email protected]> wrote:
> Hi Sheetal,
>
> You can check this link for loading fonts at runtime:
>
> http://www.scottgmorgan.com/blog/index.php/2007/06/18/runtime-font-em...
>
> Thanks
> Arvind
>
> On Mar 18, 4:49 pm, sheetal <[email protected]> wrote:
>
> > Thanks for the link.
> > I have tried it but when i want to change font family runtime this is
> > not working.
>
> > [Embed(source="assets/ARIAL.TTF",
> >         fontName="one",
> >         mimeType="application/x-font")]
> >                 private var one:Class;
>
> > myTextArea.setStyle('fontFamily',one);
>
> > i want it to chnage as i change font family from combo box.
>
> > On Mar 18, 4:04 pm, Anish Kumar <[email protected]> wrote:
>
> > > check this...
>
> > >http://blog.flexexamples.com/2008/02/07/embedding-fonts-in-a-flex-app...
>
> > > -Anish- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to