closeCard
Syntax
on closeCard
...
end closeCard
Explanation
Whenever SuperCard shows a different card, it sends a closeCard
message
to the outgoing card before it starts loading the new one, which allows the card’s script to perform some clean-up.