I include a year ago a function(like in the manual) with load the screenshot from a save game and bring it on a button on my save/load gui. I didn`t change the code but now I see that it didn`t work anymore. I can change the button.normalimage only whis a sprite from the manager and not whis the dynamic sprite from the savegame. if i try it, the button vanished. but the sprite from the game is loaded, because i can bring it on the screen whis RawDrawImage(0,0,Sprite.Graphic)
what is the problem
?
please help me, here is my function:
function update_Slot () {
DynamicSprite *Sprite = DynamicSprite.CreateFromSaveGame(lstSave.SelectedIndex, 80, 60);
if (Sprite != null)
{
btnScrnshot.ClipImage = true;
btnScrnshot.Clickable = false;
btnScrnshot.NormalGraphic = Sprite.Graphic;
Display("%d: %d*%d", lstSave.SelectedIndex, Sprite.Width, Sprite.Height);
RawDrawImage(0,0,Sprite.Graphic);
}
else
btnScrnshot.NormalGraphic = 189;
txtSavegameSlot.Text = lstSave.Items[lstSave.SelectedIndex].Copy();
SetGlobalInt(7, lstSave.SelectedIndex);
}
what is the problem

please help me, here is my function:
function update_Slot () {
DynamicSprite *Sprite = DynamicSprite.CreateFromSaveGame(lstSave.SelectedIndex, 80, 60);
if (Sprite != null)
{
btnScrnshot.ClipImage = true;
btnScrnshot.Clickable = false;
btnScrnshot.NormalGraphic = Sprite.Graphic;
Display("%d: %d*%d", lstSave.SelectedIndex, Sprite.Width, Sprite.Height);
RawDrawImage(0,0,Sprite.Graphic);
}
else
btnScrnshot.NormalGraphic = 189;
txtSavegameSlot.Text = lstSave.Items[lstSave.SelectedIndex].Copy();
SetGlobalInt(7, lstSave.SelectedIndex);
}