I have a SWC file and am using the SDK only with a plugin for the NetBeans IDE. I have placed the SWC file in FLEX_HOME/frameworks/libs but it doesn't seem to find the components and I get the error:
Main.mxml(73): Error: Access of undefined property DateUtil.
Does anyone have any suggestions?
You need to use the -library-path compiler option:
mxmlc -library-path+=c:/mylibraries/MyButtonSwc.swc c:/myfiles/comptest/testRotation.mxml
If this post answered your question or helped, please mark it as such.