Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 3.08 KB

README.md

File metadata and controls

37 lines (29 loc) · 3.08 KB

ActionScript 3 (AS3) API Reference

Scripts developed by Gene Pavlovsky gene.pavlovsky@gmail.com

Description

ActionScript 3 (AS3) API Reference from Adobe, suitable for offline access using FlashDevelop or a web browser.

Provides scripts for downloading and optimizing the latest reference, enabling offline usage, improving rendering speed and reducing clutter.
Contains TocGen tool for generating the help TOC file suitable for use with FlashDevelop via OpenTheDoc plug-in.

Downloads

Latest version: July 2017 (Flash 25.0, AIR 25.0)

Scripts usage

The scripts are written in bash and awk and should be able to run on UNIX or Cygwin.

  1. Review config.sh. Any custom settings can be added to config.local.sh.
  2. Run scripts/fetch_src.sh to download the AS3 API Reference from Adobe to src/ using wget. This will take a long time.
  3. (optional) Just in case, create an archive of src/.
  4. Run scripts/clean_src.sh to move unwanted files from src/ to trash/.
  5. Run scripts/make_doc.sh to optimize the html files from src/, outputting into doc/. The optimizing itself is done by scripts/make_doc.awk. This will take a long time.
  6. (optional) Run scripts/verify_doc.sh to make sure that every file in src/ has a matching file in doc/. This will take a while.
  7. Run bin/TocGen.exe, fill in the full path to the doc/ directory, and click Generate. This will take a while.
  8. Run scripts/fix_toc.sh to fix a problem with the links in the TOC file. If following the next step, this script will be ran automatically.
  9. (optional) Edit config.sh, set prune_packages to the list of packages you don't want, then run scripts/prune_doc.sh to remove them and update the TOC file.
  10. Copy doc/ wherever you want and use them with FlashDevelop via OpenTheDoc plug-in or a web browser.