BowlerHatLLC / vscode-as3mxml

ActionScript & MXML language extension for Visual Studio Code. Develop apps for Adobe AIR, Adobe Flash Player, or Apache Royale.
https://as3mxml.com/
Apache License 2.0
256 stars 39 forks source link

Build task failing because Adobe Animate not found #735

Closed Notexe closed 7 months ago

Notexe commented 7 months ago

I've tried setting "as3mxml.sdk.animate": "C:\\Program Files\\Adobe\\Adobe Animate 2024\\Animate.exe" in VSCode's settings.json file but that hasn't helped at all. Is there something I am missing? My asconfig.json looks like this:

{
    "animateOptions": {
        "file": "basic.fla"
    },
    "compilerOptions": {
        "source-path": [
            "src"
        ]
    },
    "mainClass": "basic_Main"
}

Thanks! Also unrelated but is it somehow possible to define multiple fla files in the same asconfig?

Notexe commented 7 months ago

Nvm.... I thought the file field for the fla was relative based on the source-path field. I've moved the fla file out of the src folder and now it finds adobe animate.

joshtynjala commented 7 months ago

Also unrelated but is it somehow possible to define multiple fla files in the same asconfig?

No, but you can create multiple asconfig files. Just add an extra . and string before the file extension, like asconfig.customstring.json.

Notexe commented 7 months ago

Also unrelated but is it somehow possible to define multiple fla files in the same asconfig?

No, but you can create multiple asconfig files. Just add an extra . and string before the file extension, like asconfig.customstring.json.

Oh awesome, thank you!