actionscript 3 - Flex in IntelliJ: Embeded fonts not showing after compile -


i'm trying set old flex project in intellij idea having problem embeded fonts. font installed on windows 7 pc , located in folder fonts in directory actionscript sources located. i'm using sdk compiler config flex_sdk_4.1 additional option of -static-link-runtime-shared-libraries=true.

code example:

{ [embed(source="fonts/org_v01_.ttf", fontname="org_v01", mimetype='application/x-font-truetype')] public var org_v01:class;

var format:textformat = new textformat(); format.font = "org_v01"; format.color = 0x000000; format.size = 8;

label = new textfield(); label.defaulttextformat = format; label.embedfonts = true; label.text = "loading..."; addchild(label); }

needed set embedascff='false'


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -