Here's what I ended up using. I considered using a callback in the first transition to call the second, but didn't feel like doing further testing.
This gives a 5 second static shot, and then 1/2 second fade.
In several of the examples I saw here and there on this site, animation.add() was used, without noting that the "animate" module needed to be loaded. Once I added that, my stuff started working.
Thanks for your help guys. Couldn't have got there without you.
fe.load_module("animate"); // load this to use the animation methods.
::OBJECTS <- {
GameOver = fe.add_image("game_over.png", xpos(0), ypos(0), width(base_width), height(base_height) ),
}
OBJECTS.GameOver.alpha=0; // set to 0 to hide until needed.
local static_transition = {
when = Transition.FromGame,
property = "alpha",
start = 255,
end = 255,
delay = 0,
time = 5000,
}
local alpha_transition = {
when = Transition.FromGame,
property = "alpha",
start = 255,
end = 0,
delay = 5000,
time = 500,
easing = Easing.In,
}
animation.add( PropertyAnimation( OBJECTS.GameOver, static_transition ) );
animation.add( PropertyAnimation( OBJECTS.GameOver, alpha_transition ) );