it seems that hscript interpreter could not recognize my classes if I used them into script.
ex: I used my classMain , I got error when tried to execute:
js__$Boot_HaxeError {val: {…}, stack: "Error: EUnknownVariable(Main)↵ at hscript_Inter
I used to import my class Main at the same place where I execute the script.
I also, tried to use the full package name to reference the Main class com.clientside.main.Main, I got error:
v: "com"
__enum__: "hscript.Error"
stack: Error: EUnknownVariable(com)
Any idea?
it seems that hscript interpreter could not recognize my classes if I used them into script.
ex: I used my class
Main, I got error when tried to execute:I used to import my class
Mainat the same place where I execute the script.I also, tried to use the full package name to reference the Main class
com.clientside.main.Main, I got error:Any idea?