Comments are available to members only. Sign up or Log in to view these comments.
Main Topics
Browse All TopicsSo, here's something that's had me banging my head against the wall. Using AS2.0, I have a class that extends MovieClip. In my main FLA, I've got a library MovieClip that references this class in its Linkage. All that stuff is working great.
In the External AS2.0 class, I at one point create an empty movie clip, and then create a textField. I want this textField to use an embedded font. Now, if this were happening in the main FLA, it would be simple: create a Font library item, set the linkage, and then reference that identifier in a TextFormat call. Easy peasy. Tried it and it works like a charm.
But! An external AS file has no library, so you can't embed the font in the AS file. AND, for some reason the AS file can't access the font, even if it's embedded in the FLA that's calling it (using the method I've described above). Or at least, I can't get it to work.
I've even tried creating another FLA, embedding the font, saving the SWF, and then using something like LoadMovie in the AS class to load that swf hopefully giving the class access to the linked font. No go.
What am I doing wrong?
Thanks!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: durand54Posted on 2008-08-01 at 17:10:48ID: 22142649
Comments are available to members only. Sign up or Log in to view these comments.