Loading movieclip/physics modules????

Ok I have been hitting my head against this all day and finally found my problem:
How do you load these external modules?

The debugger says I don’t have an modules loaded for the requires I have but I cannot find these anywhere in the install? Are these modules included somewhere? I figured the physics engine would be? Please please assist on where I can find these so I can put them in my app folder and get this thing working right!!! [import]uid: 128166 topic_id: 35294 reply_id: 335294[/import]

Can you be more specific?

Some modules are in the core of the product, like: json = require(“json”)
Others you have to have in the same folder with your main.lua

But some examples would really help out. [import]uid: 199310 topic_id: 35294 reply_id: 140292[/import]

Some that I need to load would be:

Director
Physics
Movieclip [import]uid: 128166 topic_id: 35294 reply_id: 140303[/import]

Hi James,
Director is third-party, so you need to drop the Director module into your core project directory. Physics is bundled into Corona, so just require it in. Movieclip is a very old library which I’m almost certain was removed long ago, but reportedly it’s still floating around somewhere if you need it.

Remember to assign them to corresponding local variables at the top of main.lua, as below. Case-sensitive too, and don’t append “.lua” at the end.

local director = require(“director”)

Does this help?
Brent [import]uid: 200026 topic_id: 35294 reply_id: 140304[/import]

Where do I find the require? to copy it to my directory… I don’t see it anywhere in my install folder. I did the require just as you have it with physics and it says the module isnt there [import]uid: 128166 topic_id: 35294 reply_id: 140352[/import]

Hi James,
So on the very first line of “main.lua” (or near the first line), you typed this:

local physics = require("physics")

And it’s saying it can’t find the module?

Brent [import]uid: 200026 topic_id: 35294 reply_id: 140375[/import]

Can you be more specific?

Some modules are in the core of the product, like: json = require(“json”)
Others you have to have in the same folder with your main.lua

But some examples would really help out. [import]uid: 199310 topic_id: 35294 reply_id: 140292[/import]

Some that I need to load would be:

Director
Physics
Movieclip [import]uid: 128166 topic_id: 35294 reply_id: 140303[/import]

Hi James,
Director is third-party, so you need to drop the Director module into your core project directory. Physics is bundled into Corona, so just require it in. Movieclip is a very old library which I’m almost certain was removed long ago, but reportedly it’s still floating around somewhere if you need it.

Remember to assign them to corresponding local variables at the top of main.lua, as below. Case-sensitive too, and don’t append “.lua” at the end.

local director = require(“director”)

Does this help?
Brent [import]uid: 200026 topic_id: 35294 reply_id: 140304[/import]

Where do I find the require? to copy it to my directory… I don’t see it anywhere in my install folder. I did the require just as you have it with physics and it says the module isnt there [import]uid: 128166 topic_id: 35294 reply_id: 140352[/import]

Hi James,
So on the very first line of “main.lua” (or near the first line), you typed this:

local physics = require("physics")

And it’s saying it can’t find the module?

Brent [import]uid: 200026 topic_id: 35294 reply_id: 140375[/import]