# Problems on getting the object array name & connector

**URL:** <https://forum.kirupa.com/t/problems-on-getting-the-object-array-name-connector/316225>\
**Category:** flash\
**Created:** [November 16, 2010, 10:53am UTC](https://forum.kirupa.com/t/problems-on-getting-the-object-array-name-connector/316225 "2010-11-16T10:53:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![faithDevil](https://avatars.discourse-cdn.com/v4/letter/f/df788c/32.png) [@faithDevil](https://forum.kirupa.com/u/faithDevil)\
**Post date:** [November 16, 2010, 10:53am UTC](https://forum.kirupa.com/t/problems-on-getting-the-object-array-name-connector/316225/1 "2010-11-16T10:53:10Z")

</div>

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~~~
