Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/03/2009, 19:39
pepinliria
 
Fecha de Ingreso: marzo-2009
Mensajes: 13
Antigüedad: 15 años, 1 mes
Puntos: 1
Respuesta: Help with AS3.0

Hi, i dont know what do you want to do, maybe i dont undestand you.

I think you do want to do that?:

function some(evt:MouseEvent):void{
var trapezoid:Shape = new Shape();
trapezoid.graphics.lineStyle(2, 0xFFD700, 1, false, LineScaleMode.VERTICAL, CapsStyle.NONE, JointStyle.MITER, 10);
trapezoid.graphics.lineTo(evt.stageX, evt.stageY);
this.addChild(trapezoid);
stage.removeEventListener(MouseEvent.MOUSE_MOVE, some);
}
stage.addEventListener(MouseEvent.MOUSE_MOVE, some);

I'm sorry if that isnt.