Problem with sprite

hi, i want use to sprite for randomly select object(actually, i am displaying object randomly, that time use to sprite ) is it possible, please help me;>

code of random appear object::>
[lua]local fruitTable = {
{Name=“nimbu-s.png” },
{ Name=“apple-s.png”},
{ Name=“santra-s.png”},
{Name=“anar-s.png”},
{ Name=“pear-s.png”}
}[/lua] [import]uid: 87661 topic_id: 20596 reply_id: 320596[/import]

Best option would be to have your sprites all on one sheet.

Add the appropriate frames via sprite.add and use the identifiers from your table to change the currently displayed frame. [import]uid: 84637 topic_id: 20596 reply_id: 80878[/import]