Flash Builder - How to build or include an SWC

前端 未结 5 1944
太阳男子
太阳男子 2021-01-15 16:24

I\'m trying to recreate a modernized version of this tutorial here - but I\'m having problems building and referencing a SWC file for inclusion in my Flash Builder project.

5条回答
  •  情歌与酒
    2021-01-15 16:51

    Use Flex Library Project to create SWC like the comment above. There are many ways to include external code to your project.

    _ Copy to libs folder since default build path included that folder.

    _ Project Properties > Action script Build Path > Add SWC to add an SWC file which could locate anywhere in your file system.

    _ Project Properties > Action script Build Path > Add Project to include your Flex Library Project, in case the project is under development, so that you don't need to export SWC file and copy it into your application project every time the library changes.

提交回复
热议问题