Adobe AIR project: adding SWC files
I've successfully created my first AIR project with IntelliJ and I can debug & compile.
Now I want to add a SWC file to the project. The SWC is compiled from Adobe Animate and includes only graphic assets. The clips are exported from the XFL file library, with a linkage name. However, IntelliJ doesn't seem to be aware of these assets: they are not suggested by auto-completion, and are marked as "Unresolved type" when I type them manually.
I have added the SWC directory (or the file directly) via File > Project Structure > Project Settings > Libraries (and also via File > Project Structure > Platform Settings > Global Libraries, just to see). Is there something more to do so that the SWC assets might be taken into account?
Please sign in to leave a comment.
Please add the dependencies directly to the module:
That's perfect, thanks a lot :)
This was super helpful.
Project Settings > Modules > Dependencies tab