Hi,
on closing the plugin, the plugin should stop all own handlers, remove all own objects from stage, and removing everything else it has added/created,
I'm making a hotspot plugin which will be loaded and unloaded a lot of
time, so I'd like to optimize the performance and really close all the
variable when closing the swf.
it's more imported to remove any handlers/timers,
e.g. when a object is removed, but the handler/timer is still running...
Is it necessary to set the global (private var) boolean, array and integer to null (it displays an error) or something else ?
no, normally not,
for instance, Klaus, in radar.as you don't do anything with the String
variable pluginpath in stopplugin. Is there any particular reason ?
simple objects(strings too) are automatically free in Flash, when there is no reference to it anymore,
there is no need here to set "pluginpath" to null,
Do you have an idea about this error ?
sorry, but without seeing the code of your plugin, no

there are so many reasons possible,
best regards,
Klaus
I