[swfmill] runtime error: fd + ant + swfmill

Dipl. Des. Hagen Aedtner info at newbit.org
Thu Jan 17 06:13:01 PST 2008


Daniel Fischer schrieb:
> On Thu, 17 Jan 2008 14:21:39 +0100
> "Dipl. Des. Hagen Aedtner" <info at newbit.org> wrote:
> 
>> can anybody help me to find out what's wrong here?
> 
> paths in swfml-simple xml are always relative to the current working
> directory when executing swfmill, not to the XML file. Now i don't know
> what is the current working directory when using FlashDevelop, but it
> obviously isnt src/*/.
> 
> try <clip id="newbit" import="src/img/newbit.jpg"/> .
> 
> -dan
> 
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
> 
hi daniel,

thanks for the tip!

i'm using ant and a build.xml file to control swfmill

after redirecting swfmill to the xml source folder i can adress the 
assets relative

<target name="compile">
	<!-- SWFMill -->
	<exec executable="${swfmill}" dir="./src/xml" failonerror="true">
             <arg value="simple"/>
             <arg value="${source}/${swfdata}"/>
             <arg value="${deploy}/${swftarget}"/>
         </exec>
</target>	


now everything is fine ;-) !!!

best
hagen



More information about the swfmill mailing list