asdoc issues with TLF text
I'm having some issues with an unwanted class being included into my asdocs and have managed to isolate the cause to including TLF text in an swc.
The project is as3 only.
I am exporting an swc (assets.swc) from Flash CS5, which has a class (UserInterface) which contains a TLF textfield.
I am then adding assets.swc to my library path and using the UserInterface class within my application.
When I generate asdocs (see settings below) from my source all works well however I have an unwanted class included.
The class being included is in the top level package and is named along the lines of _7a743e26a97ed6a4a722a566cf5666c0a2a8db86575c71ff5221eeeea60c45c8_mx_core_FlexModuleFactory (the checksum part of the name varies).
From what I can tell this class handles RSL loading for the TLF. In flash I have tried setting textLayout.swc to be merged into code with no change in asdoc output (release swf shows additional filesize so it is merging).
Any help avoiding this would be much appreciated (changing to classic text is a solution though not really what I'm looking for).
The ant call to asdoc is included below
<exec executable="${asdoc.exe}" failonerror="true">
<arg value="-doc-sources=${source_path.main}"/>
<arg value="-library-path+=libs"/>
<arg value="-left-frameset-width=350"/>
<arg value="-window-title='${title}'"/>
<arg value="-output=${asdocs_outputfolder}"/>
<arg value="-examples-path=./examples"/>
</exec>
