but the string is munged when i wanna start using it... ex: foo = "C:\Documents and Settings..."
SearchReplace( foo, "\\", "/" ( results in C:/ocuments and Settings... That \D eats up the D, etc. On 11/16/05, JesterXL <[EMAIL PROTECTED]> wrote: > > Same thing; I just replaced them with forward slashes. > > ----- Original Message ----- > From: "eric dolecki" <[EMAIL PROTECTED]> > To: "Flashcoders mailing list" <[email protected]> > 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 > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

