1 Reply Latest reply on Nov 18, 2009 3:35 AM by paul.williams

    decode encoded string

    flx23 Level 1

      Hi

       

      How can i decode the encoded string

       

      i have done the following to decode the encoded string but the decode function does not returns string

       

      as return being void.

      decode(encoded:String):void

       

       

       

                             var strEncoder:Base64Encoder=new Base64Encoder();
                          var strDecoder1:Base64Decoder=new Base64Decoder();
                          strEncoder.encode(str);
                          trace(strEncoder.toString());
                          strDecoder1.decode(strEncoder.toString());