Hello there :D8-)
I have little problem.. I need to load fonts into an app at runtime. The idea is that i need to have the fonts with their Identifiers just like i would have the fonts ready to embed in my mail fla file.
So the most obvious solution to do this was to create an external swf file with a Font object in the library, that was exported in the first frame of the movie with an unique identifier. After that, i only loaded that swf and tried to access the font. The problem is that i can’t access the font trough it’s Identifier.
So does anyone knows if it’s possible to access objects from other swf’s libraries via their Identifier? I really need to it this way .. :-/
I’m very curious about how to do that as well .
what’s actionscript version of your project?
what’s actionscript version of your project?2
i went around it and put my text component in the same file with the fonts. I embedded the fonts in that file and put them in 2 arrays. One containing the ids and one containing the names. So when i opened that swf file into my flash i was able to access the both arrays and all embedded fonts.
so each time when you need a font set you have to load a specific flash file.
i will use this in the future.
simple and elegant. thx man. i think this would be a good way to seriously cut down compilation time since i love to check out my progress after every 20 lines or so. even with library embedded fonts it was a pain in the ‘beep’.