Problems calling functions between files

I can call functions between .lua pages when they’re called from director scenes, but if I try to call one in a scene from outside I get an error message “attempt to index global ‘scene1’ (a nil value)”

This is basically what I am trying to do.

“scene1.lua”[code]
module(…, package.seeall)

function scene1:test()
print(“test”)
end
[/code]
“time.lua”[code]
module(…, package.seeall)

scene1:test()
[/code]

[import]uid: 10356 topic_id: 31186 reply_id: 331186[/import]