You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by spiros <ag...@novusnet.gr> on 2019/04/11 13:02:10 UTC

Create and build a library project

Hi again, 

 

Is it possible to create a library project in FB 4.7  and build a  .swf file
witch then  I can include to  RoyaleJS Project ?

 

I search around but I don't find any info.

 

 

 

 

 

Best regards

 

 

Spiros 

 


Re: Create and build a library project

Posted by Harbs <ha...@gmail.com>.
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 <ag...@novusnet.gr> 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:yishayjobs@hotmail.com] 
> Sent: Thursday, April 11, 2019 4:31 PM
> To: dev@royale.apache.org
> 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?
> 


Re: Create and build a library project

Posted by Carlos Rovira <ca...@apache.org>.
Hi Spiros,

has you consider use VSCode? I think Josh has introduced recently the
ability to import FB projects into VSCode with his extension AS3 & MXML.
Take into account that VSCode is a new and supported editor and AS3&MXML
extension is developed too in this days, while FB is a deprecated product.

HTH

Carlos


El jue., 11 abr. 2019 a las 15:53, spiros (<ag...@novusnet.gr>) escribió:

> 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:yishayjobs@hotmail.com]
> Sent: Thursday, April 11, 2019 4:31 PM
> To: dev@royale.apache.org
> 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?
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

RE: Create and build a library project

Posted by spiros <ag...@novusnet.gr>.
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:yishayjobs@hotmail.com] 
Sent: Thursday, April 11, 2019 4:31 PM
To: dev@royale.apache.org
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?


RE: Create and build a library project

Posted by Yishay Weiss <yi...@hotmail.com>.

>witch then  I can include to  RoyaleJS Project ?

Do you want to include it in run-time or when compiling?