[flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-26 Thread Joao Coelho
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Just curious, where'd folks see the decoder docs talk about a toString()? Base64Decoder's primary use is to decode to a ByteArray so it has a toByteArray() method. If you wanted to construct a String from this ByteArray

[flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-25 Thread Joao Coelho
--- In flexcoders@yahoogroups.com, Samuel Colak [EMAIL PROTECTED] wrote: check adobes online version of the documents I did, it does not have the updated info...

[flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-25 Thread nathanpdaniel
I don't think it's ever been documented like everything else... I've been searching for any type of documentation on it since... Flex 2 beta - STILL nothing. --- In flexcoders@yahoogroups.com, Joao Coelho [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Samuel Colak sam.colak@

[flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-25 Thread Joao Coelho
--- In flexcoders@yahoogroups.com, nathanpdaniel [EMAIL PROTECTED] wrote: I don't think it's ever been documented like everything else... I've been searching for any type of documentation on it since... Flex 2 beta - STILL nothing. Pretty much what I figured... At least there's source code

RE: [flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-25 Thread Peter Farland
What do you want to do with Base64? I might be able to point you at an example. I've also logged a bug for documentation to ask them to provide examples in these classes (note this, and commenting on the live docs, is a better way to get the doc team's attention).

[flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-25 Thread Joao Coelho
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: What do you want to do with Base64? I might be able to point you at an example. I've also logged a bug for documentation to ask them to provide examples in these classes (note this, and commenting on the live docs, is a

Re: [flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-25 Thread Doug McCune
In my version of the SDK source the toString method is defined and looks like this: public function toString():String { return flush(); } On Thu, Sep 25, 2008 at 10:15 AM, Joao Coelho [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED]

Re: [flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-25 Thread Doug McCune
woops, that was in Base64Encoder, not Decoder. My mistake. On Thu, Sep 25, 2008 at 10:25 AM, Doug McCune [EMAIL PROTECTED] wrote: In my version of the SDK source the toString method is defined and looks like this: public function toString():String { return flush(); } On Thu,

Re: [flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-25 Thread Doug McCune
I assume the bug here is that the toString() method was supposed to be implemented the same way in Base64Decoder as it is in Base64Encoder, which would then make the docs at least make sense. But it looks like that method simply got left out of the decoder class. Add it in just like in the encoder

RE: [flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-25 Thread Peter Farland
-Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug McCune Sent: Thursday, September 25, 2008 1:29 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Base64Encoder / Base64Decoder I assume the bug here is that the toString() method

Re: [flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-25 Thread Doug McCune
encoding used in the bytes. Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug McCune Sent: Thursday, September 25, 2008 1:29 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Base64Encoder / Base64Decoder I assume

[flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-25 Thread johnlukemills
I found this lying around. It might work. package com.one2one.cliex.util{ import mx.utils.Base64Encoder; import mx.utils.Base64Decoder; import flash.utils.ByteArray; public class B64String { public static function encodeString(plainString:String):String{

[flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-25 Thread jim.abbott45
Has ANYONE got a code sample (of the Decoder, especially) they'd like to share? I'm using the Decoder right now and can't get it to work. Of course I don't know yet if its in my AS3 code; the server guy's Base-64 code (in Java); or--dare I say it--in the Flex library.

[flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-25 Thread John Luke Mills
I found this lying around. It might work package com.one2one.cliex.util{ import mx.utils.Base64Encoder; import mx.utils.Base64Decoder; import flash.utils.ByteArray; public class B64String { public static function encodeString(plainString:String):String{