Add Close Flash function called by SWF.