On 1/9/20, 9:43 AM, "Takeshita Shoichiro" <[email protected]> wrote:
Hi,
I'll try to develop emulation components for flexlib.
Several questions in the meantime.
Flexlib consists of about 500 files, mostly .as, .png, and .gif.
However, there are also the following .fla and .swf files.
\flexlib-master\flexlib-master\examples\MDI\src\MacOS9.swf
\flexlib-master\flexlib-master\examples\MDI\src\WindowsXP_default.swf
\flexlib-master\flexlib-master\examples\MDI\src\assets\swf\Blue.swf
\flexlib-master\flexlib-master\examples\MDI\src\assets\swf\BrushedMetal.swf
\flexlib-master\flexlib-master\examples\MDI\src\assets\swf\WindowsAssets.swf
\flexlib-master\flexlib-master\examples\TreeGrid\src\assets\defaultTreeAssets.fla
\flexlib-master\flexlib-master\examples\TreeGrid\src\assets\defaultTreeAssets.swf
\flexlib-master\flexlib-master\examples\TreeGrid\src\assets\treeAssets.fla
\flexlib-master\flexlib-master\examples\TreeGrid\src\assets\treeAssets.swf
\flexlib-master\flexlib-master\library\src\flexlib\assets\assets.fla
\flexlib-master\flexlib-master\library\src\flexlib\assets\assets.swf
\flexlib-master\flexlib-master\library\src\flexlib\assets\defaultTreeAssets.fla
\flexlib-master\flexlib-master\library\src\flexlib\assets\defaultTreeAssets.swf
\flexlib-master\flexlib-master\library\src\flexlib\controls\iconLoaderClasses\assets\Assets.fla
\flexlib-master\flexlib-master\library\src\flexlib\controls\iconLoaderClasses\assets\Assets.swf
1. How to treat these files? Do these files bring an impact to the
emulation work?
I would ignore those files for right now. If they are referenced as embedded
assets in the code, comment out the embed directive since Royale doesn't
support that right now and try to get the code to compile and run. Then it
will probably be more obvious what the asset was supposed to do and we can
discuss how to replace whatever is missing.
2. To compile the emulated flexlib, can I use the pom.xml included in this
repository?
If you want to use Maven that's fine, but I took a quick look at the POM and it
will need to be modified so it uses Royale instead of Flex and does not push
the artifacts to the same folder as flexlib. You may want to call this project
royalelib instead.
If you are more familiar with Ant, it is fine to just start with Ant. At some
point we will make builds work for both Ant and Maven.
Thanks,
-Alex
Thanks for your advice in advance.