flash on 2010-7-27
/**
* Copyright hacker_8ojcwwvq ( http://wonderfl.net/user/hacker_8ojcwwvq )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/5UII
*/
package {
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
//輪郭
//graphics.beginFill(0xffdab9)
//graphics.lineStyle(10,0xffdab9)
//graphics.drawCircle(230,230,200)
//目
//graphics.beginFill(0x000000)
//graphics.lineStyle(10,0x000000)
//graphics.drawCircle(150,210,30)
//graphics.drawCircle(300,210,30)
//graphics.endFill()
//眉毛
//graphics.moveTo(93,180)
//for(var d:int = 205; d < 340; d++){
//var radian:Number = d * Math.PI / 180;
//graphics.lineTo(
//150 + 60 * Math.cos(radian),
//200 + 60 * Math.sin(radian))
//}
//graphics.moveTo(243,180)
//for(var d:int = 205; d < 340; d++){
//var radian:Number = d * Math.PI / 180;
//graphics.lineTo(
//300 + 60 * Math.cos(radian),
//200 + 60 * Math.sin(radian))
//}
//口
//graphics.lineStyle(10,0xff0000)
//graphics.moveTo(180,330)
//graphics.lineTo(280,330)
//輪郭
}
private function morph(count:Object):void{
while(this.numChildren){
this.removeChildAt(0);
}
var ratio:Number = (count.num / 60) % 1;
var g:Futsu = new Futsu();
var currentImgObj:Object =
var nextImgObj:Object =
}
}
}
import flash.display.Sprite;
class Futsu extends Sprite{
public function Futsu(){
//輪郭
graphics.beginFill(0xffdab9)
graphics.lineStyle(10,0xffdab9)
grapgics.drawCircle(230,230,200)
//目
graphics.beginFill(0x000000)
graphics.lineStyle(10,0x000000)
graphics.drawCircle(150,210,30)
graphics.drawCircle(300,210,30)
graphics.endFill()
//眉毛
graphics.moveTo(93,180)
for(var d:int = 205; d < 340; d++){
var radian:Number = d * Math.PI / 180;
graphics.lineTo(
150 + 60 * Math.cos(radian),
200 + 60 * Math.sin(radian))
}
graphics.moveTo(243,180)
for(var d:int = 205; d < 340; d++){
var radian:Number = d * Math.PI / 180;
graphics.lineTo(
300 + 60 * Math.cos(radian),
200 + 60 * Math.sin(radian))
}
//口
graphics.lineStyle(10,0xff0000)
graphics.moveTo(180,330)
graphics.lineTo(280,330)
}
}