Yes thanks Chris, I mean the exec task. I've tried it with dir="" but it still doesn't work ...

 <exec dir="${deploy}" executable="${flashplayer}" spawn="true">
  <arg value="${deploy}/${targetswf}"/>
 </exec>

... after this I still get undefined for the data that I try to read from an external file in ${deploy}. What do I need to do to CD to the deploy dir (as if I would use the DOS command CD)? Or do I actually have to add the path to the Flash player to my global Path and just call the player without path? Worth a try I guess!



----- Original Message ----- From: "Chris Velevitch" <[EMAIL PROTECTED]>
To: "Open Source Flash Mailing List" <[email protected]>
Sent: Thursday, June 30, 2005 1:29 PM
Subject: Re: [osflash] Fw: ChangeDir with Ant?


Since you didn't say which ant task you're using to run the swf, I'll
assume you're using <exec>. Use the dir= attribute to say which
directory run the swf in.
(http://ant.apache.org/manual/CoreTasks/exec.html)

_______________________________________________
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

Reply via email to