i've got an interface built that allows users to change the font and saves the values to a mysql database. everything saves fine but when i try to load them, it always uses times new roman instead of the font they chose. i am using textFieldFormat.font=fontvariable; and setting everything properly (i know this because the size, bold, italic, color, etc. are working fine). I've embedded all of the fonts earlier on in the .swf but that doesn't seem to help. do i need to set embedFonts=true?
i had already tried that but that wasn't working at all. i did figure it out... i needed to add the font to the library and choose "Export for Actionscript". that did the trick, but added immensely to the file size. now i'm trying to get it to work using shared library components.
can anyone help here? i set my source .swf to export for runtime sharing and put in the URL (http://www.myurl.com) as the URL in the symbol linkage properties. then in the destination movie clip, i used import for runtime sharing and the same URL (http://www.myurl.com). i thought that would work, but it didn't. are there any rules i need to be cognizant of when it comes to naming the symbols? the identifier in both the exported and imported symbols are identical. do i need to really put http://www.myurl.com/file.swf in my destination .swf file?
sorry for not explaining this in better detail, but i think that anyone who knows how to use shared library assets will understand what i'm saying.