1 Reply Latest reply on Aug 3, 2010 4:10 AM by -BoNzO-

    MXML file in a library, getDefinitionByName




      I have a library which I load with a Loader. That library has some .as files and some MXML files.


      For some reason, the MXML files are not accessible when using domain.getDefinitionByName while the actionscript files are. For the MXML classes, there is a definition but it's null ( as opposed to the def not found Error )


      I can't find the reason for that, since the MXML file is compiled into an as3 file with the same class name and is correctly included in the swc/swf.


      Any ideas ?