Phasing an display object in and out

I’m building your basic overhead shooter and when my attacker dies, I want to blink it out and in several times to symbolize the target respawning.

I’m tempted to do a series of transition.to’s that call the next transition as part of its onComplete call back. But that seems excessive.

Thoughts?
[import]uid: 19626 topic_id: 8563 reply_id: 308563[/import]

You could consider using a sprite sheet - I have a simple one in a side scrolling shooter I did that has the first frame the actor as normal and then the second frame is empty.

Then I just played it through a couple of times.

Could that work for you?

Peach [import]uid: 10144 topic_id: 8563 reply_id: 31643[/import]