Hi all,
I am using SuperTabNavigator in my application and i am loading
declaration...
private var loadSWF:SWFLoader;
..
.
case "PharmaReportModule":
swfURL = "Report.swf"
VBoxName = "Pharma Report";
break;
...
..
..
.
private function addTab(event:Event):void
{
var swfURL:String = swfFileName
if(loadSWF==null)
{
loadSWF = new SWFLoader();
}
loadSWF.load( swfURL );
var newVBox:VBox = new VBox();
nav.addChild( newVBox);
newVBox.label = VBoxName;
newVBox.addChild(loadSWF );
nav.selectedIndex = findComponent(str);//loading appropriate
tabposition in component
}
this is my code to navigate swf files i get memory leak on this,
i am not unloading or nullifying the swfloader! i want write the code
in supertabnavigator close event and how to use the close event in
supertabnavigator,....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" 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/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---