implemented dispose method for swfplugin