class yaogan extends egret.Sprite{
public jiao=null;
public chuanting=null;
public tingbeijing=null;
public woei=null;
public timm=null;
public p11=null;
public p22=null;
public shpw=null;
public zzou=null
public skyy=null;
public tingbeijingg=null;
public constructor(zou,sky,tingbeijing){ //构造函数。
super(); //继承
this.zzou=zou;
this.skyy=sky;
this.tingbeijingg=tingbeijing;
var ang6=new angle67();//获取角度
this.jiao=ang6;
var p1:egret.Point=new egret.Point();
var p2:egret.Point=new egret.Point();
this.p11=p1;
this.p22=p2;
var shpwai:egret.Shape = new egret.Shape();
shpwai.graphics.beginFill( 0x00ff00 );
shpwai.graphics.drawCircle( 360, 180, 100 );
shpwai.graphics.endFill();
this.addChild( shpwai );
this.shpw=shpwai;
var nei:egret.Shape = new egret.Shape();
var neix=360;
var neiy=180
nei.graphics.beginFill( 0xff0000);
nei.graphics.drawCircle( neix, neiy, 40 );
nei.graphics.endFill();
nei.touchEnabled=true;
this.addChild( nei );
this.addEventListener(egret.TouchEvent.TOUCH_MOVE,this.onnei6, this);
}
我平时用的nei.addEventListener但在在这会报错