On Tue, Nov 1, 2016 at 3:44 PM, <[email protected]> wrote:

> Thank you @cmodien.
>
> Everything is class-based, starting from the document class of Main.
>
> Not one line of code in the App's timeline;
> though there is some code within the swc-based UI components,
> which *do* come from a .fla file.
>
>
>
> > The mxmlc / compc compilers can only compile .as files not fla files.
>
> So; once moving to the mxmlc / compc compiler;
> I see that I'll need to flatten the UI components FLA file out into .as
> and .bmps/.jpgs, etc.


>
> So, there are no separate tricks for just recompiling the small UI .FLA to
> .swc?
>

If it's small the easiest thing to do is what you mentioned above. Flatten
it out to .as files.

If the assets are marked for export to actionscript you might be able to
get away with embedding the assets like:

[Embed(source='SWFFileName.swf', symbol='symbolName')]

http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf60546-7ff2.html


>
> Thanks
>
>
>
>
>
>
>
>
>
>
> --
> Securely sent with Tutanota. Claim your encrypted mailbox today!
> https://tutanota.com
>
> 1. Nov 2016 18:14 by [email protected]:
>
>
> > Is/are the root app/s timeline based or does it have a root document
> class?
> > (movieclip or sprite based)
> >
> > The mxmlc / compc compilers can only compile .as files not fla files.
> >
> > If there's a document class you'll be set. You can just point mxmlc at
> the
> > document class + src + lib folders and it'll compile fine.
> >
> >
>

Reply via email to