hkhkhk (2) [Avatar] Offline
#1
Is there a classpath or something to determine where imports come from?


21:47:50~/sw/flex/bookprojects/pomodo2/app/flex/com/pomodo/components> mxmlc AccountCreateBox.mxml
Loading configuration file /Users/hkon/sw/flex/flex/flex_sdk_3/frameworks/flex-config.xml
/Users/hkon/sw/flex/bookprojects/pomodo2/app/flex/com/pomodo/components/AccountCreateBox.mxml(21): Error: Call to a possibly undefined method AccountCreateEvent.

dispatchEvent(new AccountCreateEvent(XML(result)));
hkhkhk (2) [Avatar] Offline
#2
Re: error compiling iteration 3 mxmlc AccountCreateEvent.mxml
solution :

use source-path and file-specs directives on mxmlc command line:

mxmlc -source-path ~/sw/flex/bookprojects/pomodo2/app/flex -file-specs AccountCreateBox.mxml