Did this elementary flash tools to brand your ain pixel avatar during 2013, which tin endure role every bit your social media profile pic.
Pixel Avatar
Below are only about quick possibilities of what you lot tin practise alongside this editor.
Behind The Scene
Programming this is real simple. I genuinely pass to a greater extent than fourth dimension creating the graphics. If you lot create upwardly one's heed to brand your ain avatar maker inwards Flash, at that topographic point are exclusively few things you lot necessitate to know
Changing Graphic Option Different graphic sections (Hair, Eye, Mouth, Nose...) are shop inwards dissimilar MovieClip as well as nested inwards a mind MovieClip. Different options (Hair style1, Hair mode 2, Hair style3...) are shop inwards dissimilar frames. Then, you lot tin only "gotoAndStop" on a item frame. For example:
mcAvatar.hair.gotoAndStop(2);
In my case, the file size is quite modest as well as I am doing this all past times myself, as well as therefore I only did all the graphics inwards i SWF. You could in all probability did a constituent to charge graphics from external swf/jpg/gif.
Changing Color To alter color, you lot only necessitate to tint the movieclip. For example:
var tmpColor:Color=new Color(); var tmpTint:uint = e.target.selectedColor; //value from colorpicker element tmpColor.setTint(tmpTint,1); mcAvatar.hair.transform.colorTransform = tmpColor;
You in all probability volition also desire to farther split the graphic into to a greater extent than section, every bit tinting a MovieClip, volition alter the whole clip color.
Exporting Image To export icon from ActionScript. Download as well as install
AS3CoreLib. Then you lot tin role the next script to export image.
import com.adobe.images.JPGEncoder; var tmpBitmap:BitmapData=new BitmapData(mcAvatar.width, mcAvatar.height); tmpBitmap.draw(mcAvatar); var tmpJPG:JPGEncoder = novel JPGEncoder(100); var tmpByte:ByteArray; tmpByte = tmpJPG.encode(tmpBitmap); var tmpFile:FileReference=new FileReference(); tmpFile.save(tmpByte, "avatar.jpg");
Pixel Me!
You tin endeavor to
pixel avatar maker inwards my deviantart. This is educate alongside Flash AS3, as well as therefore you lot powerfulness non endure able to sentiment alongside your mobile phone.
Reference
Pixel Avatar Maker Deviantart