Topic: Unload embebbed SWF completely
I bought the TiltViewer Pro Recently and Its working perfectly! Beautiful!
I'm not an actionscript expert, but when I remove the TiltViewer from my main SWF the listeners that were created by the tiltViewer remains loaded and trying to access the TiltViewer Objects that aren't there anymore.
According to Adobe forums this is a bug that has 2 solutions. Using Adobe Flash Player 10, you can use the method UnloadAndStop(), then flash try to remove everything linked with that SWF. Even though they said this solution isn't 100%.
I tried this solution and really didn't work perfectly flash stills output the following error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
The other solution is to remove everything manually. The only way to do this is by knowing the code. Am I right?
Obvious that the source code must not be exposed, but maybe, if you include a method like the visibility option that completely removes the gallery. Or if you can write a method that I can use to completely remove the gallery.
Can anyone help me?