rework Avatar.fla, organize Main.as