Ricardo,
What do you mean when you state we must clean our own Timers? I am a bit lost about this because that is the biggest part of the code that has changed over the course of the revisions to the Director Class.
I have just created the following code with the timer at the end. Is this the kind of timer you are talking about and if so how are we supposed to clean it?
Would you mind giving a bit more details on how we clean timers and runtime events.
Thanks
Rob
BTW: Thanks for Director Class and the new update.
It is an awesome tool!!!
[code]local touchObject1 = function (event)
if event.phase == “ended” then
local chalkbdImage = display.newImageRect( “zImages/chalkbd.png”, 825, 568 )
chalkbdImage.x = 512; chalkbdImage.y = 384
localGroup:insert(chalkbdImage)
audio.play( slideSound )
local removechalkbd = function()
chalkbdImage:removeSelf()
end
timer.performWithDelay(5000, removechalkbd)
end
end
textObject1:addEventListener(“touch”, touchObject1) [import]uid: 16527 topic_id: 6750 reply_id: 306750[/import]