got it to build… can't get it to launch the debugger… the error is: Error launching SWF debug session. Process exited with code: 6
Which according to this [1] means I can't write to the output dir (but I'm not specifying it). How do I do that? I wonder if I need to change where I installed the FlexJS sdk? Here's what the launch config looks like in Flash Bungler. https://www.dropbox.com/s/8f6kllihuoc3kol/Screen%20Shot%202017-03-17%20at%208.55.31%20PM.png?dl=0 [1] https://helpx.adobe.com/air/kb/air-developer-tool-adt-error.html Exit codes ADT exits with one of the following exit codes. For error conditions (code > 1), ADT also prints a diagnostic message to stderr. Exit Code Meaning 0 Successful primary launch [1] 2 Usage error (incorrect arguments) 5 Unknown error 6 Could not write to output directory On Fri, Mar 17, 2017 at 8:25 PM, Clint M <[email protected]> wrote: > ha… got it to compile my flex mobile project with a couple of workarounds… > > - "library-path": [ "libs" ], didn't work… I had to do: "additionalOptions": > "-library-path+=libs/", > - I had to install both the flex sdk and the flexjs sdk… my > ./.vscode/settings.json looks like: > // Place your settings in this file to overwrite default and user settings. > { > "nextgenas.sdk.framework": "/Users/clint/code/Flex/SDK/ > flex_sdk_4.15.0_AIR_23", > "nextgenas.sdk.editor": "/usr/local/lib/node_modules/flexjs" > } > > > On Fri, Mar 17, 2017 at 8:03 PM, Clint M <[email protected]> wrote: > >> trying to get it setup… do I need both the flexjs and flexswf sdks? >> >> On Fri, Mar 17, 2017 at 4:36 PM, Josh Tynjala <[email protected]> >> wrote: >> >>> Hello, Flex community! >>> >>> I hope you don't mind if I take a moment to plug one of my projects that >>> I >>> think many Flex developers here will find useful. >>> >>> As you may recall, I created an ActionScript and MXML extension for >>> Visual >>> Studio Code a while back. Originally, my main focus was on creating a >>> development environment for FlexJS. Popular IDEs like Flash Builder and >>> IntelliJ IDEA require jumping through some hoops to work with FlexJS, >>> and I >>> wanted to make sure the community has an editor where FlexJS is >>> considered >>> a first-class citizen. >>> >>> Well, I know many of you who are interested in FlexJS are also still >>> targeting Adobe AIR and Flash Player with the original Apache Flex SDK. >>> With that in mind, I've been working on ensuring that you can build >>> projects for these runtimes in Visual Studio Code too! Earlier this >>> week, I >>> released a big, new update to the extension that adds support for SWF >>> debugging in AIR and Flash Player. >>> >>> When you debug a SWF project in VSCode you'll be able to add breakpoints, >>> pause and step through your code, see trace() output in the console, >>> navigate the call stack, and inspect variables. It's a debugger with all >>> the bells and whistles that we've come to expect. >>> >>> For more information about the Visual Studio Code extension, please visit >>> the website: >>> >>> https://nextgenactionscript.com/vscode/ >>> >>> For instructions about how to create a new project, set up the compiler, >>> and debug any type of Apache Flex app in Adobe AIR and Flash Player, >>> visit >>> the Github wiki: >>> >>> https://github.com/BowlerHatLLC/vscode-nextgenas/wiki >>> >>> With the community's help, I can continue working on useful developer >>> tools >>> for ActionScript and MXML. Please join my Patreon campaign to lend a >>> hand! >>> >>> https://www.patreon.com/josht >>> >>> Thank you, and happy coding! >>> >>> Josh Tynjala >>> NextGen ActionScript >>> >>> Note: I am an Apache Flex committer and PMC member, but this VSCode >>> extension is not an Apache project. Today, I am simply posting as a >>> member >>> of the community who wants to share a cool, independent project that >>> others >>> might enjoy. >>> >> >> >
