Skip to content
andrewanswer edited this page Jun 29, 2011 · 11 revisions

Flash Runtime Font Publisher originally taken from http://code.google.com/p/flash-runtime-font-publisher/ and modified by me to support runtime font loading several font SWF files to one AS3 application. RFP 1.0.0 doesn't allow this because of class naming problem.

In repository in 'test' directory you can find test Flash CS5 application which demonstrate font loading from 'fonts' dir inside 'test'. To prepare other fonts this way, follow instruction from http://code.google.com/p/flash-runtime-font-publisher/wiki/HowToUseASingleNameForMultipleFontStyles

1.0.0 (old) extension: 'FontWindow/bin-release/RuntimeFontPublisher.mxp'

1.0.1 (new) extension: 'FontWindow/bin-debug/RuntimeFontPublisher.mxp'

Attention: you can use spaces in font name, but don't forget to replace it to underscores in 'name' attribute of 'font' tag in fonts.xml file.

Clone this wiki locally