Doccie
11-01-2008, 10:36 PM
So, I tried this in different ways, but nothing seems to have worked so far.
I have a movieclip containing a vector and in it I want to place a label. I linked this movieclip to a class. The movie is supposed to be scalable, so I can't just add a textfield with embedded fonts to the movieclip in the library, since it would stretch.
That's why I want to add the textfield dynamically through the class constructor. I created a font symbol in the library, but I can't quite figure out how to import and use the font in an external class.
edit: I'm not using Flex, just AS3. So [Embed] won't work :)
I have a movieclip containing a vector and in it I want to place a label. I linked this movieclip to a class. The movie is supposed to be scalable, so I can't just add a textfield with embedded fonts to the movieclip in the library, since it would stretch.
That's why I want to add the textfield dynamically through the class constructor. I created a font symbol in the library, but I can't quite figure out how to import and use the font in an external class.
edit: I'm not using Flex, just AS3. So [Embed] won't work :)