Hi,
I’m trying to make a coin blinks for 2 secs. To accomplish that I’m using transition.blink(coin,{time=3000}), however it makes the coin to blink forever.
It might be a bug of this method or I’m doing something wrong
This is the code snippet:
local coin = display.newImageRect( “images/coin.png”, 50,50)
coin.x = 200; coin.y = 100;
transition.blink(coin,{time=3000,onComplete=function(obj) coin:removeSelf(); coin=nil; end;})
I’m using corona simulator 2014.2189 (2014.3.6)
Any clue on this is appreciated
Olman