myksa
02-26-2009, 05:29 PM
Hi,
I've just found a problem with memory in FPP. Here is my situation:
I have one box element - a container for some swf content.
I have few buttons, which load swf to this box element.
When I load swf file (set box url), it loads about 100 images at time.
I'm "destroying" this swf, by setting hotspot's url to empty string.
I quoted "destroying" in purpose, because memory hasn't been freed... When I load this swf, memory usage rises for about 400MB, but when I reset box url to empty path, this memory is steel used... When I load another swf file with different set of images, memory raises again... I found also, that memory is cleared when new pano loads.
So, does anyone know if there is a way to clear hotspot's memory immediately when I clear it's path?
Meybe interactive hotspot should have a function, that will destroy itself completely when it's path is cleared? Is there a way to detect, that swf is closing, and fire self-clearing function?
Thanks for any help
Myksa
I've just found a problem with memory in FPP. Here is my situation:
I have one box element - a container for some swf content.
I have few buttons, which load swf to this box element.
When I load swf file (set box url), it loads about 100 images at time.
I'm "destroying" this swf, by setting hotspot's url to empty string.
I quoted "destroying" in purpose, because memory hasn't been freed... When I load this swf, memory usage rises for about 400MB, but when I reset box url to empty path, this memory is steel used... When I load another swf file with different set of images, memory raises again... I found also, that memory is cleared when new pano loads.
So, does anyone know if there is a way to clear hotspot's memory immediately when I clear it's path?
Meybe interactive hotspot should have a function, that will destroy itself completely when it's path is cleared? Is there a way to detect, that swf is closing, and fire self-clearing function?
Thanks for any help
Myksa