Thanks Alex,

So there shouldn't be any issues with the way I set the swfLoader in Cairngorn 
then? 

I did test with the profiler and unless I am blind I don't see it releasing 
memory, however, I am not an expert with it. When I do test with the browser 
(IE), I see the memory go down then back up, in the long run it always goes 
much higher and doubles or triples from original. I am not sure at this point 
if I should worry about it or code it a different way. If it is the brower, 
then I gather there isn't much I can do...

Thanks again.




________________________________
From: Alex Harui <aha...@adobe.com>
To: "flexcoders@yahoogroups.com" <flexcoders@yahoogroups.com>
Sent: Monday, February 16, 2009 11:43:24 AM
Subject: RE: [flexcoders] Image->swfLoader->memory


Use the Profiler to see if you really have such a problem.  We have seen issues 
with some browsers not releasing memory even though Flex has.
 
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs. adobe.com/ aharui
 
From:flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On 
Behalf Of thibodeau.alain
Sent: Monday, February 16, 2009 6:00 AM
To: flexcod...@yahoogro ups.com
Subject: [flexcoders] Image->swfLoader->memory
 
Hi all,
I am building a photo library using tileList and the <mx:Image. I do 
notice that the memory does grow the more images I load. The <mx:Image 
is bound to my modelLocator, so I am not actually "unloading" the image 
per say, I am just changing the source with databinding. I did assume 
however that it would unload the image before loading the next...That 
said, I've also tested to unload the image manually. 

I've read various conflicting posts on swfLoader and how it doesn't 
actually unload loaded swf's or images. I've also read that in player 
10+ it actually unloads swf's properly...Can someone please tell me 
what simply is the truth? And if there is an issue with the swfLoader, 
than what would be a good workaround?

Thanks in advance, I appreciate it.



      

Reply via email to