However I can't seem to reference code from inside the .swc. Here is my
asconfig.json file:
{
"compilerOptions": {
"source-map": true,
"targets": [
"JSRoyale"
],
"library-path": [
"/Users/frederic/Desktop/Exuvis/CityFashion/EnalityFlexLibrary/bin/EnalityFlexLibrary.swc"
],
"html-output-filename": "index.html"
},
"files": [
"src/EnalityCMS.mxml"
]
}
On Wed, Sep 26, 2018 at 12:44 PM Fréderic Cox <[email protected]> wrote:
> OK I found it, info about this on
> https://github.com/BowlerHatLLC/vscode-nextgenas/wiki/asconfig.json#library-path
>
> On Wed, Sep 26, 2018 at 12:12 PM Fréderic Cox <[email protected]>
> wrote:
>
>> Hi,
>>
>> I've managed to create my first Hello World app using Apache Royale. Now
>> I'm wondering how can I link existing .swc's? I have a bunch of library
>> projects which have assets, .as code files and .mxml code files. Is it
>> possible to link those .swc files in an Apache Royale project (I'm using
>> VSCode)? I want to be able to use the API's from the library in my new
>> ApacheRoyale project so I can keep using the same libraries I used when
>> working in Flash Builder with Flex for AIR.
>>
>> Thanks for the info!
>>
>> Best regards,
>>
>> Fréderic
>>
>