Ahhh, so that's what the string was. I also worked out what was triggering the flashback in my cluttered brain. The backslash symbol used to reference the root of a movie or clip a la html uri's, though I still remember \+ as actually having a use.
Oh well. Lee -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 13 June 2006 15:56 To: Flashcoders mailing list Cc: Flashcoders mailing list; [EMAIL PROTECTED] Subject: RE: [Flashcoders] another mtasc question hey Andreas, this \+ seems like an error to me. it should either be \\+ if he is trying to replace the text "\+", or just "+" if he is only trying to replace the "+". However, because he's replacing it with %2B, it seems like he is only trying to replace the + since 2B is the hex for the + sign character in url encoding. you can verify this bug by doing: str = "ab+cd+ef"; str = str.split("\+").join("%2B"); trace( str ); i could be wrong, but i would guess that mtasc is complaining because there is no reason to escape the + character in a string, and hence \+ would be invalid since it isn't an expected escape sequence. If you change the \+ in your .as file to just +, I think you will fix the bug in the Base64.as, and also make it so mtasc will compile it. -Michael "Lee McColl-Sylvester" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 06/13/2006 09:10 AM Please respond to Flashcoders mailing list <[email protected]> To "Flashcoders mailing list" <[email protected]> cc Subject RE: [Flashcoders] another mtasc question Hey Andreas, http://ostermiller.org/Base64.as has a port of the base64 class for AS2 Lee -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning Sent: 13 June 2006 13:54 To: Flashcoders mailing list Subject: [Flashcoders] another mtasc question I'm just full of questions today :) Jason Nussbaum's AS2 Base64 class makes use of the symbol "\+", something mtasc protests. Why? :) - A _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

