Hello,
I have a calling to a labelFunction, which obviously receives the 
object with the data that I will choose and concatenate to return and 
display, example: 

public function getLabel(dato : Object) : String
{ 
return dato.name + " " + dato.lastname; 
}

I want to pass through an array the parameters which I want to show 
in this function, like:

public var array : Array = new Array ("name","lastname");

public function getLabel(dato : Object) : String
{ 
return dato.array[0] + " " + dato.array[1]; 
}

I did it like that but doesn't work, any help ? 

Reply via email to