----- Original Message ----- From: "Mike Shaw" <[EMAIL PROTECTED]>
To: "'Open Source Flash Mailing List'" <[email protected]>
Sent: Tuesday, June 28, 2005 3:43 PM
Subject: RE: [osflash] Using as2lib SWF Ant Tasks with Eclipse?



Sascha,

I don't have the build.xml handy can you post it.

Mike.


Sure ...


<project name="Swf Ant Task Samples - As2lib - Open Source ActionScript 2.0 Library - " default="usage" basedir=".">

 <property name="src.dir" location="src"/>
 <property name="lib.dir" location="lib"/>
 <property name="build.dir" location="build"/>

 <taskdef name="swf" classname="org.as2lib.ant.Swf" classpath="../../src"/>

 <target name="usage">
   <echo message=""/>
   <echo message="------------------------------------------------------"/>
   <echo message="Among the available targets are:"/>
   <echo message=""/>
   <echo message="sample"/>
   <echo message="------------------------------------------------------"/>
   <echo message=""/>
 </target>

 <target name="sample" description="builds sample swf">
<swf src="${src.dir}/com/simonwacker/ant/Sample.as" dest="${build.dir}/sample.swf" width="300" height="100" framerate="31" bgcolor="FF8A00">
     <clip id="simonwacker" import="lib/simonwacker.jpg"/>
     <font id="pixel" import="lib/PixelClassic.ttf"/>
   </swf>
 </target>

</project>

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to