New timer.resume apparently does not work (?)

Hi guys,
It seems that the new function “timer.resume” does not work.
Look at the code below, where I went wrong?

Regards
Marco

[code]
local result
local timer1

local btResume = display.newImage( “btResume.png” ,0,50)
local btPause = display.newImage( “btPause.png” ,0,0)

function TEST( event )
local count = event.count
print(count … " time(s)" )
end

function START()
timer1 = timer.performWithDelay(1000, TEST, 50)
end

function PAUSE()
result = timer.pause(timer1)
print( "Time remaining is " … result )
end

function RESUME()
result = timer.resume(timer1)
print( "Fire time is " … result )
end

btResume:addEventListener(“tap”,RESUME)
btPause:addEventListener(“tap”,PAUSE)

START()
[/code] [import]uid: 7518 topic_id: 14045 reply_id: 314045[/import]

which version of corona simulator are you using ? it works for simulator version 2011.596 or higher. [import]uid: 71210 topic_id: 14045 reply_id: 51741[/import]

I use 2011.605

Are you sure that the code I posted work on build 596?

Thanks
Marco
[import]uid: 7518 topic_id: 14045 reply_id: 51746[/import]

it should be fine with any version greater than 596. I tried on 606 and got the same problem you told. may be we should post a bug report. [import]uid: 71210 topic_id: 14045 reply_id: 51747[/import]

is this issue solved? i’m running build 626 and i think i’m experiencing the same issue. [import]uid: 91271 topic_id: 14045 reply_id: 58806[/import]

If you are experiencing the issue, may I suggest you try out Jonathon Beebe’s Class which also includes pause and resume functions that have worked prior to build 596. You can find it here:
http://developer.anscamobile.com/code/beebegames-class

Luke [import]uid: 75643 topic_id: 14045 reply_id: 58809[/import]

I can also confirm that bug. Problem appears to be related to resume function.

Anyone filed a bug for that? [import]uid: 10478 topic_id: 14045 reply_id: 58881[/import]

I just filed a bug report for this one, I’ll post the link once it’s available…

Edit: It looks like Marco already filed a bug for this, here is the link to follow it…

http://bugs.anscamobile.com/default.asp?7584_7oivvqd4
[import]uid: 10478 topic_id: 14045 reply_id: 58908[/import]