Here is a stand-alone project which compiles to a swc:

https://github.com/unhurdle/spectrum-royale/tree/master/Spectrum 
<https://github.com/unhurdle/spectrum-royale/tree/master/Spectrum>

You can use either ant or asconfic (or the VS Code equivalent) to compile.

Take note of the compile-config.xml and the js-compile-config.xml files. Also 
take note of the package.json and republish.js files which download 
playerglobal.

You need the full Royale SDK (and o just the js-only version) to compile the 
swc.

To use the swc, you’d just copy the swc to your lib folder.

HTH,
Harbs
> On Apr 11, 2019, at 9:44 AM, spiros <[email protected]> wrote:
> 
> I am not sure , but  I have in my mind the standard flex lib concept.
> Include the .swf file to project at compile time.
> 
> 
> Spiros 
> 
> -----Original Message-----
> From: Yishay Weiss [mailto:[email protected]] 
> Sent: Thursday, April 11, 2019 4:31 PM
> To: [email protected]
> Subject: RE: Create and build a library project 
> 
> 
> 
>> witch then  I can include to  RoyaleJS Project ?
> 
> Do you want to include it in run-time or when compiling?
> 

Reply via email to