<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; layout="vertical"
xmlns:text="flash.text.*">
    <mx:Script>
        <![CDATA[
            [Embed(source="tahoma.ttf", fontWeight="Normal",
fontName="myTahoma", mimeType="application/x-font")]
            private var tahoma:Class;
            [Embed(source="tahomabd.ttf", fontWeight="Bold",
fontName="myTahoma", mimeType="application/x-font")]
            private var tahoma_bold:Class;

        ]]>
    </mx:Script>
    <mx:Label  text="Testing Normal Font" fontFamily="myTahoma"
fontWeight="normal" fontSize="40" />
    <mx:Label text="Testing Bold Font" fontFamily="myTahoma"
fontWeight="bold" fontSize="40" />
</mx:Application>


no description ... :) ask questions if you have any.

regards,
Varun Shetty

On Tue, Sep 30, 2008 at 6:34 AM, Satish பேர கேட்டா சும்மா அதுருதில <
[EMAIL PROTECTED]> wrote:

> I need it in ActionScript... And also how to set the css to a control...
> can u explain with some sample code....
>
>
> On Tue, Sep 30, 2008 at 2:57 PM, Flexian_me <[EMAIL PROTECTED]>wrote:
>
>>
>> make a css file and I hope u r having prior css knowledge so simply
>> save ur css in  inside src or in any folder u want and inside your
>> main mxml file call it using
>>
>> <mx:Style source="something.css"/>
>>
>> and its done.
>> :)
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

  • ... friends
    • ... Aasim
      • ... Flexian_me
        • ... Satish பேர கேட்டா சும்மா அதுருதில
          • ... Varun Shetty

Reply via email to