Beebe class time passed error

I can’t get the local timePassed = getCountedTime(timeCounter) to work.

Get this error:

attempt to call local ‘getCountedTime’ (a nil value)
Help please. [import]uid: 24111 topic_id: 8504 reply_id: 308504[/import]

Do you have this on top?

[lua]game = require( “beebegames” )

local getCountedTime = game.getCountedTime[/lua]
Source and more info: http://jonbeebe.tumblr.com/post/2439016279/how-to-use-the-new-time-functions [import]uid: 42078 topic_id: 8504 reply_id: 30461[/import]

i’m getting same error… infact several of the objects come in as nil. i have this in my code:

[lua]game = require( “beebegames” )

local resetTimeCounter = game.resetTimeCounter
local getCountedTime = game.getCountedTime
local performAfterDelay = game.performAfterDelay

local pauseAllTimers = game.pauseAllTimers()
local resumeAllTimers = game.resumeAllTimers()
local cancelAllTimers = game.cancelAllTimers()
print(“resetTimeCounter”,resetTimeCounter);
print(“getCountedTime”,getCountedTime);
print(“performAfterDelay”,performAfterDelay);
print(“pauseAllTimers”,pauseAllTimers);
print(“resumeAllTimers”,resumeAllTimers);
print(“cancelAllTimers”,cancelAllTimers);[/lua]

this is the error i get when i try printing out the objects:

[text]
resetTimeCounter function: 0x18ba780
getCountedTime nil
performAfterDelay function: 0x189d9d0
pauseAllTimers nil
resumeAllTimers nil
cancelAllTimers nil

[/text]
i don’t know what i’m doing wrong. I’ve updated to the latest stable corona build (484) and using BeebeGames class version 1.8
[import]uid: 35826 topic_id: 8504 reply_id: 32870[/import]