Loading Screen in Motion. (png file divided)

Hello, I have a question!
Right now, im figuring out how to put 3 loading image into motion.

can you guys help me put this 3 image together like a motion on the first start of app?

HERES HOW I WANT.
=============

LOADING
LOADING.
LOADING..
LOADING...
LOADING....
LOADING
LOADING.
LOADING..
LOADING...
LOADING....

=============

HELP ME!

and the bottom is the code that im using.

====

function new()
local localGroup = display.newGroup()

local theTimer
local loadingImage

local showLoadingScreen = function()
loadingImage = display.newImageRect( "images/loading1.png", 200, 320 )
loadingImage.x = 165; loadingImage.y = 160
localGroup:insert(loadingImage)

local gotoscreen = function()
director:changeScene( "screen1" )
end

theTimer = timer.performWithDelay( 1500, gotoscreen, 1 )
end

showLoadingScreen()

unloadMe = function()
if theTimer then timer.cancel( theTimer ); end

if loadingImage then
loadingImage:removeSelf()
loadingImage = nil
end
end

-- MUST return a display.newGroup()
return localGroup
end

===

please help! thanks!

views:1563 update:2011/9/18 20:20:08
corona forums © 2003-2011