[osflash] Automated compile using Flash 8 API

Tim Scollick tim.scollick at gmail.com
Wed Nov 23 13:11:34 EST 2005


I got it to work quite easily with a little bit of JSFL.  Here is the
ant script:

<project name="project" default="Flash Compile" basedir=".">
	
	<property name="Flash8IDE" location="C:\Program
Files\Macromedia\Flash 8\Flash.exe"/>
	<property name="compile.jsfl" location="publish_swf.jsfl"/>
		
	<target name="Flash Compile">				
			<exec executable="${Flash8IDE}" failonerror="true">
				<arg line=' -mmexecute "${compile.jsfl}"'/>
			</exec>		
		</target>	
</project>

------------------
Here is the .jsfl script.  You can obviously customize this to your liking:
fl.outputPanel.clear();
fl.getDocumentDOM().testMovie();



On 11/23/05, Jim Tann <Jim at avtgroup.com> wrote:
> Im pretty sure this is possible as FDT does it, I am trying to build an
> ANT process that will use the MM Flash 8 compiler. Does anyone know how
> to do this? Is there a tutorial around somewhere?
>
> Cheers
> Jim
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>



More information about the osflash mailing list