My favorites | Sign in
Project Logo
                
Code license: Artistic License/GPL
Content license: Creative Commons 3.0 BY
Labels: flash, ant, java
People details
Project owners:
  jodybrewster

FlashAntTasks

Provides ant tasks for compiling Flash CS4 Flas from Flex Builder.

An example Ant task

<taskdef resource="FlashAntTasks.properties" classpath="lib/FlashAntTasks.jar"/>
 

<flashcommand>
   <movie export="true" source="/Project/test.fla" output="/Project/swfs/test.swf" />
   <movie export="true" source="/Project/shared.fla" output="/Project/swfs/shared.swf" />
</flashcommand>

<flashcommand>
   <movie test="true" source="/Project/shell.fla" output="/Project/swfs/shell.swf" />
</flashcommand>

<!-- WINDOWS USERS NEED FLASHAPP -->
<flashcommand flashapp="c:\\program files\\Adobe\\Flash.exe">
   <movie test="true" source="/Project/shell.fla" output="/Project/swfs/shell.swf" />
</flashcommand>

Variables

flashcommand

movie

Ant Installation

What you need:

Installation help

After the restart, you'll be able to use Ant. If you go to Window > Other Views... > and type in Ant you'll see the Ant view. Click that and the view should come up. In the Ant view you'll see about 5 buttons, the far left one will add your build.xml.









Hosted by Google Code