The following table describes common compiler errors and their solutions:
|
Error |
Solution |
|---|---|
| Unable to resolve 'swf_file_name' for transcoding |
Indicates that the font was not found by the compiler. Ensure that the path to the font is correct in the @font-face declaration or the [Embed] tag and that the path is accessible by the compiler. If you are using the local property to specify the location of the font in the @font-face declaration, ensure that the font is locally accessible. Check that it is an entry in the fonts.properties file or that the font is in the system font search path. For more information, see Embedded font syntax. |
| Font 'font_name' with style_description not found |
Indicates that the fontName property used in the [Embed] statement might not match the name of the font. For fonts in SWF files, ensure that the spelling and word spacing of the font name in the list of available fonts in Flash is the same as the fontName property in your [Embed] statement and the fontFamily property that you use in your style definitions. This error can also mean that the font's style was not properly embedded in Flash. Open the FLA file and ensure that there is a text area with the font and style described, that the text is dynamic, and that you selected a character range for that text. |