4 Replies Latest reply on Sep 12, 2006 7:02 AM by dishmael


      I'm trying to use the Base64Encoder to encode the HTML text from a RichTextEditor component, but it doesnt appear to be working. It's possible that I'm doing something wrong, but I'm not sure what. Here's a snippet of what I have so far:

      import mx.utils.Base64Encoder;

      var encoder:Base64Encoder = new Base64Encoder();
      encoder.encode( htmlvar );

      Alert.show( htmlvar );

      But its showing the HTML code versus the encoded string. Anyone used this before? Should I use something else?