I just discovered that all the forward slashes in the path to the swf 
needed to be replaced with backslashes to make it work. I'm glad it's 
fixed but are there any general rules about when one should forward vs. 
backward slashes?

regards,
Christophe

Christophe Herreman wrote:

>Hi guys,
>
>I have a problem when launching a swf file from an Ant build file. The 
>code I'm using is as follows:
><target name="run">
>        <exec executable="${flash.player.exe}">
>            <arg value="${idiomatic.player.swf}"/>
>        </exec>
>    </target>
>
>This is pretty simple and does work, but when launched this way, the swf 
>can't handle relative paths to other swf's or xml files. I solved it 
>temporary by replacing all relative paths to hard coded paths in the swf 
>itself, but that is just avoiding the problem. Can't I just launch the 
>swf file as if I would double click it from the Windows filesystem? Or 
>am I doing something wrong here?
>
>thx in advance for any ideas,
>Christophe
>
>_______________________________________________
>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