Thanks Ralf! Yes this did the job! Such an easy fix but I never had the sligthest idea to try this. Sascha
-- H1DD3N.R350URC3 http://hiddenresource.corewatch.net/ ----- Original Message ----- From: "Ralf Bokelberg" <[EMAIL PROTECTED]> To: "Open Source Flash Mailing List" <[email protected]> Sent: Friday, December 02, 2005 5:23 PM Subject: Re: [osflash] CD'ing folder from Ant target? > Try backslash instead of slash in the path to the swf. Works for me. > Cheers, > Ralf. > > Sascha Balkau wrote: >> Hi folks, >> >> Does somebody know how to CD (changedir) to the project's bin folder in >> an >> Ant build file? >> I'm using this in my build.xml (with MTASC and FDT) to open the swf after >> it >> got compiled ... >> >> <!-- target: flashplayer --> >> <target name="flashplayer" description="Opens swf in Flashplayer"> >> <exec executable="${flashplayer}" spawn="true"> >> <arg value="${deploy}/${targetswf}"/> >> </exec> >> </target> >> >> This works fine unless the swf loads some external data from a text- or >> XML >> file. If thats the case, the external file cannot be found because the >> scope >> from where the swf file is executed is obviously in the FlashPlayer >> folder. >> Any solutions for this? >> >> >> > > _______________________________________________ > 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
