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]