
Код AS3:
public class Main extends Sprite {
public var clock:Clock;
public function Main():void {
this.clock = this.addChild(new Clock()) as Clock;
this.clock.x = this.clock.width / 2;
this.clock.y = this.clock.height / 2;
this.stage.addEventListener(MouseEvent.MOUSE_DOWN, startMove);
}
public function startMove(evt:MouseEvent):void {
this.stage.nativeWindow.startMove();
}
}
Лечите глову =)
PS
Не понимаю, если честно, чего сложного-то - чтоб с 19 Февраля не получалось? =)