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

Reply via email to