cycle loaded png to movieclip

Hello…
i am beginner in Corona and Lua language…

i need to load png pictures to animation in “for” cycle. if I write all pictures as you see in remarked code it’s all OK… but when I want to use a array and cycle nothing happened
please help… thx

[code]
local imageTab={}
for i=1,10 do
imageTab[i]=“pic/pap”…i…".png"
end

–local papouch=movieclip.newAnim{“pic/pap1.png”,“pic/pap2.png”,“pic/pap3.png”,“pic/pap4.png”,“pic/pap5.png”,“pic/pap6.png”,“pic/pap7.png”,“pic/pap8.png”,“pic/pap9.png”,“pic/pap10.png”}
local papouch=movieclip.newAnim{imageTab}
papouch.x=600;
papouch.y=500;[/code] [import]uid: 6869 topic_id: 1101 reply_id: 301101[/import]

Instead of

local papouch=movieclip.newAnim{imageTab}

call the comand like this

[lua]local papouch=movieclip.newAnim(imageTab)[/lua] [import]uid: 5712 topic_id: 1101 reply_id: 2801[/import]

thx… it works *THUMBS UP* [import]uid: 6869 topic_id: 1101 reply_id: 2803[/import]

Also, don’t use subdirectories (like “pic/”) to store images – this is not supported on the iPhone, although it may work in the desktop simulator! [import]uid: 3007 topic_id: 1101 reply_id: 2813[/import]