assuming the flash IDE is opened, this should do the job...
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="antjsfl" basedir="." default="flash.testMovie">
<property name="temp.jsfl.file" value="temp.jsfl"/>
<target name="flash.publish">
<echo file="${temp.jsfl.file}"
append="false">flash.getDocumentDOM
().publish();</echo>
<exec executable="open"><arg line="${temp.jsfl.file}"/></exec>
</target>
<target name="flash.testMovie">
<echo file="${temp.jsfl.file}"
append="false">flash.getDocumentDOM
().testMovie();</echo>
<exec executable="open"><arg line="${temp.jsfl.file}"/></exec>
</target>
</project>
bns.
Le 24 juin 06 à 14:45 , Weyert de Boer a écrit :
> Does anyone happen to know how you can compile a FLA in combination
> with
> Eclipse and Ant? The idea is that I compile the FLA into SWF in the
> Flash 8 IDE through a simple JSFL file. The all works fine under
> Windows, only when I try to use the same thing on a Mac computer it
> fails. Does anyone know how to execute Flash 8 through Ant's <exec>-
> tag
> on the Mac to execute a JSFL file?
>
> Yours,
> Weyert
>
> _______________________________________________
> 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