Use flashdevelop to generate SWC library files with one click

Source: Internet
Author: User

The built-in project type of flashdevelop does not have a SWC Library Project template. it is not convenient to encapsulate the General Part of the project into SWC. The flashbuilder or command line compc command is often required.

With the compc command and the powerful flexibility of FD, it is not difficult to generate SWC with one click. The steps are as follows:

  1. Create an as3 Project
  2. Open the project properties, change the output file name to SWC, and then click "no output...
  3. Switch to the build tab and add the command:

    "$ (Compilerpath) \ bin \ compc.exe"-include-sources "$ (projectdir) \ SRC"-output "$ (outputdir) \ $ (outputname )"

     

  4. Click OK to save the settings. Press F8 to compile the project to generate the SWC file:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.