This should work:
<exec executable="c:\Program Files\Macromedia\Flash
8\Players\SAFlashPlayer.exe">
<arg value="${deployDir}/master.swf"/>
</exec>
(taken from my ant script, so i´m pretty sure)
On Tue, 14 Mar 2006 08:21:00 -0300, erixtekila <[EMAIL PROTECTED]>
wrote:
>> <exec executable="${flashPlayer}" dir="." >
>> <arg line="${deployDir}/master.swf" />
>> </exec>
>>
>>
>> where ${flashPlayer} is the Path to my Flash-Player
>> (/Applications/Studio8/Macromedia Flash 8/Players/SAFlashPlayer:).
>> But I get an error:
>> cannot execute binary file
>
> The flash player isn't a tool that can receive the .swf file as a
> parameter.
> So exec task won't work here.
>
> Alternatively, you could use an open command with -a switch :
>
> <exec executable="open" dir="." >
> <arg line="-a ${flashPlayer} ${deployDir}/master.swf" />
> </exec>
>
> That should do the trick.
> Or just :
> <exec executable="open" dir="." >
> <arg line="-a SAFlashPlayer ${deployDir}/master.swf" />
> </exec>
>
> Be sure to launch one time the Flash Player manually.
> If not the SAFlashPlayer won't be signifiant for the open tool.
>
>
> I don't remember if there is a open task in ant.
>
> HTH
> -----------
> erixtekila
> http://blog.v-i-a.net/
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
--
_____________
Marcelo Volmaro
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org