Same thing; I just replaced them with forward slashes.

----- Original Message ----- 
From: "eric dolecki" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Wednesday, November 16, 2005 11:02 AM
Subject: [Flashcoders] local file path prob


I am being given local file paths to things, however the backslashes are
screwing things up.

trace( "C:\Documents and Settings" )

You see the \ is eating the D - \D is a backspace? Its performing string
modification. The problem compounds if there is a \r or \n in the filepath
as well.

Is the only solution here to have the string passed outside of flash the
result of a search/replace ( "\" --> "/" ) ? I think I can get the developer
to do this, but wondered if anyone else had run into this situation, and
what you did to get around it.

edolecki
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to