On 2/27/16, 9:04 PM, "PKumar" <[email protected]> wrote: > > >*E:\FlexWorkspace47\FlexJSLib\src\comp\FileUploader.as:8 >Can not resolve config constant: 'JS' > COMPILE::JS > ^ > >E:\FlexWorkspace47\FlexJSLib\src\comp\FileUploader.as:14 >Access of possibly undefined property COMPILE. > COMPILE::JS > ^
In Project menu, Properties, Flex Library Compiler, make sure you have specified as additional arguments: -define=COMPILE::JS,true -define=COMPILE::AS3,false > >E:\FlexWorkspace47\FlexJSLib\src\comp\FileUploader.as:15 >The definition of base class UIBase was not found. > public class FileUploader extends UIBase implements IStrand, >IEventDispatcher, IUIBase* Do you have the source code from the flex-asjs repo? Try running "ant" in the root of that working copy. It should build a set of swcs in frameworks/externs like Core.swc, and you want to include that SWC in your Library Path. I guess the nightly build should package those SWCs to make it easier for folks to create JS code for their own SWCs. Thanks, -Alex
