Спасибо, создал новый проект использующий классы однако ничего не получается, пробовал через build.xml (редактировал ваш пример - изменил имена файлов) возникают ошибки. У меня есть файл
main.mxml который использует 2 файла класса:
App.as и
App2.as а также библиотеку
App.swc. Может я неправильно редактировал build.xml?

Код:
<project name="App" basedir="." default="distributable-air">
<property file="${basedir}/build.properties"/>
<taskdef resource="flexTasks.tasks" classpath="${flex.tasks}"/>
<target name="clean" description="Clean the project">
<delete dir="${out.dir}" failonerror="false"/>
</target>
<target name="create-certificate" description="Creates a self-signed certificate">
<!-- not using secure shell because potato -->
<input message="The password for certificate" addproperty="password"/>
<exec executable="${adt}" failonerror="true">
<arg line="-certificate -cn SelfSigned 1024-RSA ${basedir}/App.pfx ${password}"/>
</exec>
</target>
<target name="revision-counter"
description="Retrieves last revision number into 'version.xml' file">
<exec executable="${svn.exe}" outputproperty="svn.info">
<arg value="info"/>
</exec>
<loadproperties>
<string>${svn.info}</string>
<filterchain>
<linecontains>
<contains value="Revision:"/>
</linecontains>
<replacestring from="Revision: " to="revision="/>
</filterchain>
</loadproperties>
<delete failonerror="false" file="${basedir}/version.xml"/>
<copy file="${basedir}/version.xml-template"
tofile="${basedir}/version.xml"/>
<replace file="${basedir}/version.xml">
<replacefilter token="@revision@" value="${revision}"/>
</replace>
<echo>REVISION: ${revision}</echo>
</target>
<target name="init" description="initialize the project" depends="clean">
<mkdir dir="${out.dir}" />
<!--
This is similar to what Flash Builder does when it copies files
you used in the source folders to the bin folder.
-->
<copy todir="${out.dir}" includeemptydirs="false">
<fileset dir="${basedir}">
<exclude name="**/*.as" />
<exclude name="**/*.mxml" />
<exclude name="**/build.xml" />
<exclude name="**/*.properties" />
<exclude name="**/*.air" />
<exclude name="**/*.pfx" />
<exclude name="**/*.swf" />
<include name="**/*" />
</fileset>
</copy>
</target>
<target name="compile-air-test"
description="Compiles App" depends="init">
<mxmlc file="${src.dir}/App.as"
output="${out.dir}/App.swf"
debug="true"
optimize="true"
warn-unlikely-function-value="false"
locale="en_US"
configname="air">
<source-path path-element="${src.dir}" />
<library-path dir="${FLEX_HOME}/frameworks/libs" append="true">
<include name="App.swc" />
</library-path>
<library-path dir="${FLEX_HOME}/frameworks/libs/air" append="true">
<include name="App.swc" />
</library-path>
<library-path dir="${FLEX_HOME}/frameworks/locale" append="true">
<include name="{locale}" />
</library-path>
</mxmlc>
</target>
<target name="distributable-air" description="Create the AIR package for our application"
depends="compile-air-test">
<input addproperty="password" message="The password you used to sign the certificate"/>
<!-- not using secure shell because potato -->
<exec executable="${adt}" failonerror="true">
<arg line="-package -storetype pkcs12"/>
<arg line="-keystore ${basedir}/App.pfx -storepass ${password}"/>
<arg line="rounds.air ${src.dir}/App-app.xml ${out.dir}/App.swf -C ${out.dir}"/>
</exec>
</target>
<target name="debug-air" description="Runs AIR debugger with our application" >
<!-- Use this for debugging -->
<exec executable="${adl}" failonerror="true">
<arg line="${src.dir}/App-app.xml -C ${basedir}" />
</exec>
</target>
</project>