On 1/28/14 11:01 AM, "OmPrakash Muppirala" <bigosma...@gmail.com> wrote:
>Dont we need this swc when building apps with FlexJS? For example, the >DataGridExample at flex-asjs\examples\DataGridExample does not work now >because it cannot find the basic:DataGrid component implementation. Even the AS version doesn't compile? I'll check. I did find the JS version wasn't compiling because the libs folder wasn't in the compiler options. I'll be checking that in today. > >I looked inside the FlexJS sdk installed via the new installer. There is >no FlexJSJX.swc under frameworks/as/libs. Is this intentional? Thanks for catching that. I'll fix that too. > >Thanks, >Om > > >On Thu, Jan 23, 2014 at 11:18 AM, Alex Harui <aha...@adobe.com> wrote: > >> As you may recall, Peter was able to create JS version of DataGrid and >> BarChart by writing the AS version and cross-compiling it to JS. >> >> I just checked in a new swc called FlexJSJX and changes to the build >> scripts so those components and others can have their AS classes in that >> project and their JS versions will be cross-compiled via the FalconJX >> version of COMPC. >> >> So, if you are building out a new component for FlexJS, if the JS >>version >> can be completely auto-generated by FalconJX, add the component to >> FlexJSJX, otherwise add the AS code to FlexJSUI.swc and your >> manually-written JS code to the frameworks/js/FlexJS folder. >> >> Thanks, >> >> -Alex >> >>