Hi everyone ,
I am newbie of as3…now facing some problem on it…
private function onCntrMouseDown(event:MouseEvent):void{
trace("Target: "+event.currentTarget.name);
//trace(event.target.name);
if (!lineStatus){
event.target.startDrag();
}
else{
myLine[myLineArrayIdx].setStartPos(mouseX, mouseY);
}
}
Does anyone know how to get the circle array name through the onCntrMouseDown function trace part cause as what i put for the coding as event.currentTarget.name, it gives me the object instance name which is not the array circle name that I wanted…
and I also facing the connector problem…I wish the point of the object can be link with the point of the line…but it doesn’t work…
I had tried few method…but still cannot work…:cry3:
I hope anyone know how to solve it can let me know…please…really urgent…
there is an attach file onto it
thanks~~~