var a:abc=new abc(); addChild(a); a.x=250; a.y=20; function bb(e:MouseEvent) { a.y-=15; } a.addEventListener(MouseEvent.CLICK,bb);
提供核心代码供大家参考...