Is it possible to have an image blink on and off in corona? If so please do tell me…
please reply, thank you
Is it possible to have an image blink on and off in corona? If so please do tell me…
please reply, thank you
Yes. The following was written without testing and could have syntax errors but it should be close.
local obj = display.newCircle( 100, 100, 20 ) obj:setFillColor( 255,255,0 ) obj.timer = function( self ) self.isVisible = self.IsVisible false end timer.performWithDelay( 1000, obj, 0 )
Yes. The following was written without testing and could have syntax errors but it should be close.
local obj = display.newCircle( 100, 100, 20 ) obj:setFillColor( 255,255,0 ) obj.timer = function( self ) self.isVisible = self.IsVisible false end timer.performWithDelay( 1000, obj, 0 )