Look for stateName[0]
in the script then place
stateName[#] = "Done";
stateScript[#] = "onDone";
};
function BombImage::onDone(%this,%obj,%slot)
{
%obj.unMountImage(%slot);
}
But change the # into the numbers needed (if there is a 0 and a 1 of the stateName the # would end up being a 2.
That should work if it doesn't don't blame me.