Hi Sascha,
you must specify the directory where the swfmill and mtasc executables
reside in your global path variable (if you are using Windows, I don't know
how to handle this with Linux or OSX).
Right Click on My Computer -> Properties -> Advanced Tab -> Environment
Variables
If there is already an entry for the variable PATH append it, if not create
a new one. Its value may look something like this:
E:\Programming\Flash\mtasc;E:\Programming\Flash\swfmill
This enables you to execute the executables in the mtasc and swmill folder
from anywhere you like in the commandline.
Greetings,
Simon
--
Simon Wacker
www.simonwacker.com
www.as2lib.org
www.hq-heilbronn.de
www.flik-flak.de
----- Original Message -----
From: "Sascha Balkau" <[EMAIL PROTECTED]>
To: "Open Source Flash Mailing List" <[email protected]>
Sent: Tuesday, June 28, 2005 6:39 PM
Subject: Re: [osflash] Using as2lib SWF Ant Tasks with Eclipse?
Ok I've made these changes but now I'm getting an 'error running swfmill
compiler' when trying to build. From where do the tasks know where to find
the swfmill and mtasc executables anyway? If this is the source of the
problem.
-sascha
----- Original Message -----
From: "Mike Shaw" <[EMAIL PROTECTED]>
To: "'Open Source Flash Mailing List'" <[email protected]>
Sent: Tuesday, June 28, 2005 4:08 PM
Subject: RE: [osflash] Using as2lib SWF Ant Tasks with Eclipse?
Sascha,
You don't need the taskdef tag now as the tasks are defined in eclipse
now.
Make sure you set set the default in the project tag to sample as well.
Mike.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sascha Balkau
Sent: Tuesday, 28 June 2005 5:00 PM
To: Open Source Flash Mailing List
Subject: Re: [osflash] Using as2lib SWF Ant Tasks with Eclipse?
----- 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
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org