How to make "movieclip.lua" work for me

I’m trying to understand how to use “movieclip.lua”  in my work

local movieclip = require “movieclip”;

local physics = require “physics”

physics.start ()

Walking = movieclip.newAnim{“Walking pman1.png”, “Walking pman2.png”, “Walking pman3.png”, “Walking pman4.png”, “Walking pman5.png”, “Walking pman6.png”}

Walking:play ()

I understand that it is something like this…

One problem I come against is “<eof>” which is end of file, but I don’t understand how to rectify this syntax error

Walking = movieclip.newAnim: ‘<eof>’ expected near ‘Walking’

The second I have is being able to make my “walking man” work, while requiring the “movieclip.lua” file.

Any help is appreciated.

Thanks

I’m pretty sure that movieclip class is SUPER-outdated. You’re better off using the sprite library:

http://docs.coronalabs.com/api/library/display/newSprite.html

Thank you for the quick reply

I am trying to specifically get output from flash ie. above, into corona
Is there any current way of doing this similar to ways they did in previous versions of corona?

I’m not familiar with what you are describing. My primary knowledge is in Lua development. Could you provide more detail?

You mentioned that movieclip is super-outdated. Is there any current equivalent to use flash content to put into Corona?

Well, from your original code, it looks like using sprites would serve your purposes. I’d suggest reading through the sprite documentation, because you can just stick your pngs into one spritesheet, and accomplish the animation behavior you’re looking for.

Ok thank you very much

You’ve been very helpful

I’m pretty sure that movieclip class is SUPER-outdated. You’re better off using the sprite library:

http://docs.coronalabs.com/api/library/display/newSprite.html

Thank you for the quick reply

I am trying to specifically get output from flash ie. above, into corona
Is there any current way of doing this similar to ways they did in previous versions of corona?

I’m not familiar with what you are describing. My primary knowledge is in Lua development. Could you provide more detail?

You mentioned that movieclip is super-outdated. Is there any current equivalent to use flash content to put into Corona?

Well, from your original code, it looks like using sprites would serve your purposes. I’d suggest reading through the sprite documentation, because you can just stick your pngs into one spritesheet, and accomplish the animation behavior you’re looking for.

Ok thank you very much

You’ve been very helpful