Search code examples
actionscript-3asdoc

Creating AsDoc I keep getting "Error: Type was not found or was not a compile-time constant: "


I'm trying to create AsDoc with Flash Develop tool :/. It keeps giving me this error.

col: 41 Error: Type was not found or was not a compile-time constant: antenaCoupler.
    public function AntennaKeyPad(v:antenaCoupler, m:AntennaCouplerModel, c:AntennaCouplerController) 

It seems to be pointing at v:antenaCoupler. I know that's spelled wrong but that's what the symbol is in the swc. The application compiles fine to a swf. I've been looking around but haven't found anything satisfying yet. Any help or direction would be appreciated.


Solution

  • You need to change your settings to include the SWC location.

    -library-path C:\somefolder\myprojectlibs