It seems like there's still something not right about the way this object handles memory. Our web app uses swfobject to display a flash module that allows the user to view an image and manipulate it with pan, zoom, etc. The way this works is by calling swfobject.embedSWF, getting the object with swfobject.getObjectById, and calling a function within that returned object passing in the url of the image to display.
There doesn't appear to be any function to call that can clear the swfobject from memory, and allow it to be recreated again later. swfobject.removeSWF appears to eliminate the div that houses it entirely, making any subsequent calls to swfobject.embedSWF have no effect, which in turn makes the object returned from swfobject.getObjectById return a null object. Would there be a way to add functionality to swfobject to dispose of it, but keep the underlying div element intact, to allow for re- embedding? Unless there's another way to do this, which I'm foolishly missing, of course.. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
