0 Replies Latest reply on Jun 30, 2009 6:31 AM by Rajaa_sekaran

    AS2 font embeding in seperate swf file.....

    Rajaa_sekaran

      Dear all,

       

      I tried to embed font in as2 its working...this is the sample code

       

      var test_fmt = new TextFormat();

      test_fmt.font = "Font1";

      createTextField("text1",2,100,150,100,20);

      text1.text = "what the hell";

      text1.setTextFormat(test_fmt)

      text1.embedFonts = true;

      text1._rotation = -45;

       

      But i want to embed the font in seperate swf, how to call the font embeded swf.....Please if u have any sample share with me...

       

      Thanks in advance...

       

      Rajasekaran