Thanks for the hint Tim! However using the browser is what I'm trying to prevent since I mainly write standalone apps. Any other way?
Sascha -- H1DD3N.R350URC3 http://hiddenresource.corewatch.net/ ----- Original Message ----- From: "Tim Scollick" <[EMAIL PROTECTED]> To: "Open Source Flash Mailing List" <[email protected]> Sent: Friday, December 02, 2005 3:24 PM Subject: Re: [osflash] CD'ing folder from Ant target? > You could open a web browser instead of the flash player--use an html > page that is in the proper scope. > > On 12/2/05, Sascha Balkau <[EMAIL PROTECTED]> 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? >> >> >> >> -- >> H1DD3N.R350URC3 http://hiddenresource.corewatch.net/ >> >> >> _______________________________________________ >> 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 _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
