You can use BitmapData.draw() to flatten a copy of your avatar into a bitmap - from there there are a lot of different ways to compress the image and send it to a server or wherever.