Every time I try to create a movieclip all the screen shows is the first image. When I debug, it gives an error for the movieclip.lua file line 286:
/iPhone apps/movieclipTest/movieclip.lua:286: attempt to index local 'self' (a nil value)
Runtime script error at file movieclip.lua line 286
I have double checked my code and I still can’t find anything wrong with my code.
Here is my code:
local movieclip = require "movieclip"
local myAnim = movieclip.newAnim({ "shark1HD.png", "shark2HD.png", "shark3HD.png" })
myAnim.x = 120
myAnim.y = 320
myAnim.play()
Is there anything I can do about this?
I assume it’s an issue with the external movieclip library, if so, does anyone have a newer movieclip.lua file that works? [import]uid: 38000 topic_id: 11557 reply_id: 311557[/import]