Very simple question

can somebody help me and replace the “???” in the if statement below ? I’m looking to add a description for each picture in a text field… something like: if picture1 selected, text="", else if picture2 selected, text="", else text="";

thanks!

import fl.data.DataProvider;
import fl.controls.TileList;

var imageDesc:TextField = new TextField();
imageDesc.x = 200;
imageDesc.y = 200;
addChild(imageDesc);

var picsXML:XML = <images>
<item source=“photos/thumbs/tyrusThomas.jpg”/>
<item source=“photos/thumbs/derrickRose.jpg”/>
<item source=“photos/thumbs/vinnyDelNegro.jpg”/>
</images>;

var homePhotos:TileList = new TileList();
homePhotos.dataProvider = new DataProvider(picsXML);
homePhotos.columnWidth = 90;
homePhotos.rowHeight = 130;
homePhotos.columnCount = 1;
homePhotos.rowCount = homePhotos.length;
homePhotos.height = 390;
addChild(homePhotos);
homePhotos.addEventListener(MouseEvent.CLICK, showDesc);
function showDesc(e:MouseEvent):void
{
if([SIZE=7]???[/SIZE])
{
imageDesc.text = “some text”;
}
}