Intercept the object from click as2

[COLOR=#000000][FONT=Arial]in ActionScript2 there is a way to intercept the click on a movieClip?[/FONT][/COLOR]
[COLOR=#000000][FONT=Arial]I’ll explain; I’ve this code:[/FONT][/COLOR]

planGroup.createEmptyMovieClip([COLOR=#800000]"textObject"[/COLOR], [COLOR=#800000]90[/COLOR]);
[COLOR=#00008B]if[/COLOR] (textArray != [COLOR=#800000]""[/COLOR]){    
[COLOR=#00008B]  for[/COLOR] (tn = [COLOR=#800000]0[/COLOR]; tn < textArray.length; tn++)    {
    textFormat = [COLOR=#00008B]new[/COLOR] [COLOR=#2B91AF]TextFormat[/COLOR]();        
    textFormat.size = [COLOR=#800000]100[/COLOR] * [COLOR=#800000]0.35[/COLOR];        
[COLOR=#00008B]    var[/COLOR] lbl = planGroup.textObject.createTextField([COLOR=#800000]"My_Instance_Name"[/COLOR], tn,xt - minPlanX, yt - minPlanY,[COLOR=#800000]150[/COLOR],[COLOR=#800000]90[/COLOR]);        
    lbl.text = textArray[tn].attributes.text;        
    xt = textArray[tn].attributes.x * multFactor;        
    yt = -textArray[tn].attributes.y * multFactor;
    planGroup.textObject.createEmptyMovieClip([COLOR=#800000]"invis"[/COLOR], getNextHighestDepth());        
[COLOR=#00008B]    with[/COLOR] (planGroup.textObject.invis) {          
      beginFill([COLOR=#800000]0x22ffff[/COLOR], [COLOR=#800000]50[/COLOR]);          
      moveTo(xt - minPlanX, yt - minPlanY);          
      lineTo(xt - minPlanX + [COLOR=#800000]150[/COLOR], yt - minPlanY);          
      lineTo(xt - minPlanX + [COLOR=#800000]150[/COLOR], yt - minPlanY + [COLOR=#800000]90[/COLOR]);          
      lineTo(xt - minPlanX, yt - minPlanY + [COLOR=#800000]90[/COLOR]);          
      lineTo(xt - minPlanX, yt - minPlanY);          
      endFill();
    }        
    planGroup.textObject.onRelease = [COLOR=#00008B]function[/COLOR]() {          
      trace([COLOR=#800000]"click"[/COLOR]);        
    }

[COLOR=#000000][FONT=Arial]that is I want to make the text clickable…and with this code it is, but i want the onRelease() makes different things on different text…so, how can I understand where the click come from?[/FONT][/COLOR]
[COLOR=#000000][FONT=Arial]Furthermore i noticed that the shape is drawn only on the last item of the ‘for’.[/FONT][/COLOR]
[COLOR=#000000][FONT=Arial]Any ideas? Thanks in advance![/FONT][/COLOR]