Apparat

From FDT Documentation

Revision as of 12:43, 18 April 2011 by Aklement (Talk | contribs)
Jump to: navigation, search
Apparat 1.png

With FDT 4.4 Beta, we've began to support Apparat. Apparat is a powerful framework to optimize ABC, SWC and SWF files. It's open source and looks to push the boundaries of ways for Flash developers to enhance their workflows and applications.

Up till FDT 4.4 Beta, users who wanted to use Apparat had to create ANT scripts that would execute Apparat's commands.

Contents

Getting Started

Before starting with Apparat, you'll need to download Apparat and Scala separately. This beta release of FDT 4.4 does not include Apparat or Scala.

Download Apparat

Apparat 2.png

Visit Apparat's Download Page for the latest version of Apparat or follow this download link After downloading them, expand the zip file and place them somewhere handy - you'll be linking to these sources shortly.

Apparat 3.png

Download Scala

Scala 1.png

Next just like when Apparat was downloaded, you'll need to download Scala as well. Scala is a general purpose programming language with some powerful features. Apparat is written using Scala so you'll need both.

Windows users can download it here.

OSX and Unix users can download it here.

After downloading the archive, expand it.

Scala 2.png


Setting Up FDT & Apparat

Apparat 4.png

Next thing, you'll need to tell FDT where to find Apparat and Scala. This is done via 'Preferences > FDT > Apparat' preferences view. Simply choose the root directory of each.


Using Reducer

Apparat's reducer is handy for compressing PNGs and bytecode.

Get FDT5