0 Replies Latest reply on Sep 21, 2009 6:21 AM by michielponjee

    SWC reference by name!


      I got a SWC file that includes a class name Helvetica


      var helvetica:Helvetica = new Helvetica();    <-- this works


      but i want to work it like this:

      (couse i have a flashvar that sends the name with font to embedd)


      var helvetica:* = getDefinitionByName("Helvetica"); // why this doenst work?


      Can someone see the attachement and help me?


      Thanks alot!