Thanks JayantV… Your suggestion gave me a good lead. However, I can’t seem to get the fadein/fadeout working too well, so I settled for the following. Any further suggestions which may allow me to smoothly fadein or out is appreciated.
Cheers.
local function show_image()
local X = math.random (5)
local image_Table = {}
image_Table[1] = “image1.jpg”
image_Table[2] = “image2.jpg”
image_Table[3] = “image3.jpg”
image_Table[4] = “image4.jpg”
image_Table[5] = “image5.jpg”
transition.to(display.newImage(image_Table[X], 200, 0), { time = 50000, alpha = 1 })
end
timer.performWithDelay(5000, show_image, 0) [import]uid: 87460 topic_id: 15516 reply_id: 57387[/import]