WoW, a staff reply me, I feel good!! 
I was thinking frames were just a “visual” problem. Didn’t expect that, in operations too. But thanks. I’ll play with fps.
I’m doing a timer, and i was trying to make how long i want the analog-clock to stay. Do you have any idea?
PS: I don’t know if there is a better ( well, i know there will be a better way, but i can’t think other ) way for doing this. It’s a plug-and-play code btw.
Thanks.
[lua]–RELOJ
local lineas = {}
local segundos = -1
local milisegundos = -1
local texto = display.newText( "Segundos: ", display.contentWidth/4, display.contentHeight/7-50, “Arial”, 34 )
local texto2 = display.newText( "Milisegundos: ", display.contentWidth/4-50, display.contentHeight-100, “Arial”, 34 )
for i=1, 360, 1 do
local secondHand = display.newLine( display.contentWidth/2, display.contentHeight/2,
display.contentWidth/2+100, display.contentHeight/2+100 )
secondHand:setColor( 255, 102, 102 )
secondHand.width = 3
secondHand:setReferencePoint( display.LeftReferencePoint )
secondHand.rotation = i*1
table.insert ( lineas, secondHand )
end
function borrarlinea( event )
–algún semaforo para controlar el tiempo?
if table.maxn( lineas ) ~= 0 then
print( “borrando” )
print( "rotacion: "…lineas[#lineas].rotation )
–lineas[#lineas].isvisible = false
lineas[#lineas]:removeSelf()
–lineas[#lineas] = nil
–lineas[#lineas].width = 0
table.remove ( lineas, table.maxn( lineas ) )
else
timer.cancel( tmr2 )
timer.cancel( tmr3 )
end
end
function sumarsegundo( event )
segundos = segundos + 1
texto.text = "Segundos: "…segundos
end
function sumarmilisegundo( event )
milisegundos = milisegundos + 1
texto2.text = "Milisegundos: "…milisegundos
end
tmr = timer.performWithDelay( 1, borrarlinea, 0 )
–Runtime:addEventListener( “enterFrame”, borrarlinea )
tmr2 = timer.performWithDelay( 1000, sumarsegundo, 0 )
tmr3 = timer.performWithDelay( 1, sumarmilisegundo, 0 )[/lua] [import]uid: 116842 topic_id: 33995 reply_id: 135145[/import]