0 Replies Latest reply on May 9, 2008 4:50 AM by nishantkyal

    Loading module, Layoutcontainer not found

    nishantkyal Level 1
      Hi

      I'm trying to load a module using the modulemanager but I get this error.

      VerifyError: Error #1014: Class mx.core::LayoutContainer could not be found.

      Here's the module code:
      package reevsate.fonts
      {
      import mx.modules.Module;

      public class Arial extends Module
      {
      [Embed(source='C:/WINDOWS/Fonts/ARIAL.TTF', fontName='Arial', unicodeRange='U+0020-U+002F,U+0030-U+0039,U+003A-U+0040,U+0041-U+005A,U+005B-U+0060,U+006 1-U+007A,U+007B-U+007E')]
      public static var Arial:Class;
      }
      }

      I read somewhere that this has got something to do with the application domain. I basically want to embed fonts at runtime and use that in my AIR application. Please please help.