Set time created to Sprite

Hi everybody, i wanted my Sprite appear only time (ex. 3 seconds) and removed:;qst .How can i do it automatic with a command ? and i want get curent time and set it to created_time of my Sprite. Could someone help me please ? i used cocos2dx with visual studio 2012. thank so much !

Maybe you should use the ‘scheduleOnce’ function to remove sprite. You can pass a callback function and a delay time.

could you explain more than to me please ? i have just learned cocos2dx. Exactly ,in my game , i have some targets and i want when the bullet i shoot hit the target , the a ‘blood’ image appear in 3 seconds and it will hide autoamticlly.Could you tell me the way to do tha please ???