Search code examples
flashactionscript-3fontsflash-cs3embedding

Flash Font embedding problem


I am facing a wired problem with a project. I am embedding Arial font as project is multi-lingual. If I build this project on one of my development machine, Font gets embedded successfully but in any of other machine, project successfully gets published without any warning but font just dont get embedded in SWF.

Note : Project code base is quite big.

What on the earth can prevent flash embedding font ? any ideas guys?

Thanks, Bhavesh Bagadiya


Solution

  • I found solution long ago for this but just stumbled upon this question again so replying so this can be helpful to others.

    Main reason was memory, flex builder stops building code or/and embedding if it runs out of memory during compilation process. increasing memory via following arguments solves problem.

    FlexBuilder.exe -vmargs -Xms256M -Xmx512M

    Note : One strange observation we had was that its not always solution to increase memory. It requires specific memory settings for machine. on some machine, it runs smoothly even on 256M while some needed 512m, may be depends on other program load on RAM.