Flex generally won't work in distinct appdoms
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of mydarkspoon Sent: Thursday, April 03, 2008 7:16 AM To: [email protected] Subject: [flexcoders] Font.registerFont() throws error when called from partitioned ApplicationDomain Hi, I encountered a problem when having a main swf (flex app) that loads another flex application into a partitioned application domain (new ApplicationDomain()) and the loaded swf tries to register a font using either the Font.registerFont or using embeded font in style sheet (which behind the scenes does the same as the Font.registerFont does) However, when the loaded swf is loaded into a child app domain, it works fine. Since both the main swf and the loaded swf are in a separated application domains (under the FP system app domain) I can't see why such error from a system domain class is thrown. I uploaded the sample project I made to demonstrate the error: http://www.2shared.com/file/3086720/386245a0/AppDomainHell.html <http://www.2shared.com/file/3086720/386245a0/AppDomainHell.html> Thanks a lot.

