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

StackOverflow https://stackoverflow.com/questions/16566007

  •  29-05-2022
  •  | 
  •  

Domanda

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.

È stato utile?

Soluzione

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

-library-path C:\somefolder\myprojectlibs

Altri suggerimenti

ASDocs will error out on anything that it does not understand. I have no idea what an antenaCoupler is, but try this instead

public function AntennaKeyPad(v:*, m:AntennaCouplerModel, c:AntennaCouplerController)
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top