# External swf Font.enumerateFonts()

**URL:** <https://forum.kirupa.com/t/external-swf-font-enumeratefonts/268153>\
**Category:** Uncategorized\
**Created:** [August 11, 2008, 12:51am UTC](https://forum.kirupa.com/t/external-swf-font-enumeratefonts/268153 "2008-08-11T00:51:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anarchitecton](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@anarchitecton](https://forum.kirupa.com/u/anarchitecton)\
**Post date:** [August 11, 2008, 12:51am UTC](https://forum.kirupa.com/t/external-swf-font-enumeratefonts/268153/1 "2008-08-11T00:51:35Z")

</div>

Hello,

I’m coding a FontRegister class that register fonts from an external library.swf.

Instead of writing ‘manually’ all the font class names as strings (“MyFont1”,“MyFont2”,…) to be registered via getDefinition(), I wanted the script to automatically list and register all the fonts in the loaded swf.

Font.enumerateFonts() only works on the current ApplicationDomain… How do I check|trigger enumerateFonts in library.swf when loading is complete?

Thanks in advance,  
T
