Base64 encoder/decoder class

Script Image: 
util_1.jpg

There are many possible use cases for an AS3 Base64 encoder / decoder class.

Let me introduced one of them. I had to distribute flash classes without attaching an image file to them. What I did was to put the image (a small logo) inside of an .as file. I simply Base64 encoded the image (using an online service) and then copied and pasted the string into the .as class.

I am sure you can think of even more situations where this class comes handy.

You can encode any file online to base64 using this site: http://www.motobit.com/util/base64-decoder-encoder.asp

Script author: 
Steve Webster