Hi,
I'm wondering what are we supposed to close in stopplugin.
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.
- Is it necessary to set the global (private var) boolean, array and integer to null (it displays an error) or something else ?
for instance, Klaus, in radar.as you don't do anything with the String variable pluginpath in stopplugin. Is there any particular reason ?
- I have the error
Code
"Il est impossible d'accéder à la propriété ou à la méthode d'une référence d'objet nul.
at hotspot/newEffect()"
in flash debug when I set some variable to null.
Translation : It's impossible to access to the property or the method of a null reference objet at hotspot/newEffect()
Do you have an idea about this error ?
Thanks