[flexcoders] Reload SWFLoader please help!

2009-04-22 Thread ukarick
1.Suppose that I've to reload test.swf(which develped by flex) inside SWFLoader 
then I change it's tab to second tab.

2.I really want to reload test.swf to change test.swf into initial state.

3.I've tried swfloader.load('test.swf') It's work but seems memory's leaking.

So anyone got any idea about this? just like remember SWFloader state then 
reverse it back or reload swfloader without leaking?  



RE: [flexcoders] Reload SWFLoader please help!

2009-04-22 Thread Alex Harui
If you had a model/view architecture and the model had a reset method you could 
call that

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of ukarick
Sent: Tuesday, April 21, 2009 6:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Reload SWFLoader please help!





1.Suppose that I've to reload test.swf(which develped by flex) inside SWFLoader 
then I change it's tab to second tab.

2.I really want to reload test.swf to change test.swf into initial state.

3.I've tried swfloader.load('test.swf') It's work but seems memory's leaking.

So anyone got any idea about this? just like remember SWFloader state then 
reverse it back or reload swfloader without leaking?