On 11/8/15, 2:56 AM, "Harbs" <harbs.li...@gmail.com> wrote:
>I was kind of expecting a way to link the source code to the SWCs. I sort >of expect users to want to be able to jump into the source, so they can >see how some part of the SDK is working. As a longer term goal, I think >it’s a good one. Agreed. I think that you add the SWC projects to your app project. I’ll know more once I get back to it after finishing the back port. > >I’m fine adding each piece as a separate project for now, but I’m still >having issues. > >There’s various missing swc files, but I can solve that by just removing >them. > >There’s one error I’m not sure what to do with: >CreateJS cannot find the src folder > >My biggest issue right now, is I do not understand the structure of the >projects: > >There are 3 different src folders. We have as, js and asjs. I’m not sure >how to deal with these three folders — especially in the context of >debugging in an IDE. This will change once we finish the back port. There will be one source folder. > >The js folder is pretty clear. It’s js code which is used by the Closure >Compiler. Right? I’m assuming that this code bypasses FlaconJX completely. >The as folder is for Flash specific code? >What’s the asjs folder for? Is that for common code? Yes. > >Let’s say I want to create a new XML class which is a proxy for Document >on the javacript side and a proxy for XML on the flash side. How would I >set that up? I’d ideally like to write the whole thing in ActionScript, >and let FalconJX create the javascript code necessary for JS. I know Fred >got conditional compiling working, and that seems like the most >attractive way of coding this to me, but I’m not sure what the right way >to set that up would be. If you want, you can switch to the core_js_to_as branch and try using the conditional compile there. But the FB integration may not work as well yet. -Alex