timer.resume doesn't work!

I’ve been working with the following code, and if I call the timer.resume, it doesn’t execute. I used builds 626 and 619.

Please help!

[code]
local i = 0;
local t = display.newText("Count: "…i, 100, 100, “arial”, 30);

local function add()
i = i+1;
t.text = "Count: "…i;
end

timer1 = timer.performWithDelay(100, add, 0);

local function pause()
timer.pause(timer1);
end

local function play()
timer.resume(timer1);
end

local playBtn = display.newText(“PLAY”, 100, 200, “arial”, 40);
playBtn:addEventListener(“tap”, play);

local pauseBtn = display.newText(“PAUSE”, 100, 300, “arial”, 40);
pauseBtn:addEventListener(“tap”, pause);
[/code] [import]uid: 91271 topic_id: 15901 reply_id: 315901[/import]

anyone? please… [import]uid: 91271 topic_id: 15901 reply_id: 58848[/import]

oh c’mon…any Corona guru??? [import]uid: 91271 topic_id: 15901 reply_id: 59001[/import]

anyone? hello? [import]uid: 91271 topic_id: 15901 reply_id: 59057[/import]

We are aware of some issues with timer.pause and timer.resume not working correctly in newer daily builds. If you revert to .602 it is working.

Daily builds are not guaranteed to be stable, or even work at all. That is why they are daily. [import]uid: 52491 topic_id: 15901 reply_id: 59073[/import]

There was another thread about the same bug yesterday…

As Peach said, they are aware of it and bug is listed in top priority “RELEASE URGENT DAILY BUILD” section. So, I don’t think it’ll be a long wait… :slight_smile: [import]uid: 10478 topic_id: 15901 reply_id: 59086[/import]

Thanks Peach and PixelEnvision.

At least I am at peace that Corona team’s taking action with this one. Thanks guys!

I love Corona! :slight_smile: [import]uid: 91271 topic_id: 15901 reply_id: 59229[/import]

Glad your mind is at ease :slight_smile: [import]uid: 52491 topic_id: 15901 reply_id: 59269[/import]

Sorry I haven’t been able to find if the timer.resume is fixed yet? I’m using .671 and timer.resume still doesn’t work, only timer.cancel and timer.pause works. [import]uid: 66228 topic_id: 15901 reply_id: 67936[/import]

It has taken longer than planned, yes - with the Mac App stuff coming soon and the next stable launching next month it’s been a bit crazy.

It’s still a priority and should be fixed before/when the next release comes early next Month.

Peach :slight_smile: [import]uid: 52491 topic_id: 15901 reply_id: 67944[/import]