As explained in here, there is a reason why we don't support or recommend editing the FLA source file. Even trying to add your own font is not easy. WHY? Because its a tricky procedure all the way through ...
If you embedded the font correctly and added it to the ARRAY, you shouldn't need to amend any more code, because the reason it is in the array is because it then automatically add EMBEDFONTS = TRUE to these items. However, there are many reason why this may not be working:
1. I think you should still be referring to the font in the CSS by its ORIGINAL name, and not the name you gave the font LIBRARY item. I would recommend giving the SAME name to the library item as the font name ... including CaSe.
2. It will not work everywhere. Why? Why because you can't mix embedded fonts with non-embedded fonts in the same textfield. A Textpage uses a single textpage, so if you ARE going to use an embedded font, you need to apply it to the entire TEXTPAGE not just the textpage_title. This is just how flash works, and you cant have embedded fonts and non-embedded fonts in a textfield because its either on or off:
textfield.embedFonts = true/false
.filemod_title {
/* Sets styles for the filemod title, i.e. photoblinds effect */
font-size: 12px;
color: #C0C0C0;
font-family: gorri, "Trebuchet MS", Arial;
font-style: normal;
}
Unfortunately, one of the alternative typefaces was displayed instead of gorri.
After some research I stumbled upon Karl's comment concerning "embedFonts = true" and added a respective entry in line 60 of
filemodule Frame 3:
poka wrote:It seems as if this addition is at least doing something: The text to be displayed is now missing completely.
I don't see how this is progress. If the text is displaying, at least its just because it cant find the font ... or because you have mixed embedded/non-embedded fonts ... If entire field is blank, it just means you are trying to force embed on a textfield that contains non-embedded font also (Even though your CSS reference to "gorri" still may not be correct).
poka wrote:Please help. A working CSS and/or code-snippet for DesertDogHmk* should be sufficient.
Why not check out the GARDENER theme? This theme is using an embedded font "standard 07_53". This is visible in the CSS, and you will find that we had to repeat the font for all styles where we wanted to use it (unlike for normal non-embedded fonts, which will simply inherit from the parent .body class). Also, as you can see, this font is simply added to the embedded fonts array, and of course, the font is embedded into the FLA ...