Mon 15 Feb |
|
Have been using the excellent Flash Nifties XML Flash Gallery but had a devil of a job finding a simple tutorial on how to embed fonts in a Flash file. Here are the steps and files needed to achieve this. Open your Adobe Flash program and then open the xmlGallery.fla file provided with the xmlflashgallery.zip. ![]() ![]() ![]() Now we need to add the code to the Action Script as explained on the Flash Nifties site. If you press F9 the Action Script window opens and you paste in the required code from line 26. myGallery.linkFormat = new TextFormat() //assign styles myGallery.linkFormat.font="timesnewroman" myGallery.linkFormat.size = 13 All we need to do now is export the .fla as a .swf so File->Export->Export Movie... In the gallery .xml remember to enable the embedded fonts. use_flash_fonts="true" Job done! :) ![]() |
Last Updated on Thursday, 31 January 2013 08:32 |