Hi All, Single swf file having multiple views in viewstack problem
1. builded application that have several modules
2. navigating modules using supertabnavigator,
3. each module builded as swf file loaded in (navigate from) main swf
file,
i am facing problem that, like when i load (eg.) 'master.swf' file
that having different views so i should load whenever master related
form needed then i should load master.swf file is loaded several time
with different tabs.
that memory keeps on increasing is it not share the already loaded
'master.swf' memory or it will create new instance of that swf file.
switch(menuName)
{
case "TestMasterModule":
swfURL = "Masters.swf"
VBoxName = "Test ";
model.swfoption = 0;
break;
case "MaterialModule":
swfURL = "Masters.swf"
VBoxName = "Material";
model.swfoption = 1;
break;
case "MaterialCategoryModule":
swfURL = "Masters.swf"
VBoxName = "Category";
model.swfoption = 2;
break;
case "OrganizationModule":
swfURL = "Masters.swf"
VBoxName =
"Organization";
model.swfoption = 3;
break;
case "SupplierModule":
swfURL = "Masters.swf"
VBoxName = "Supplier";
model.swfoption = 4;
break;
}
if(menuName!="")
{
loadSWF = new
SWFLoader();
loadSWF.load( swfURL );
loadSWF.percentWidth = 100;
loadSWF.percentHeight = 100;
newVBox = new VBox();
nav.addChild( newVBox);
newVBox.label =
VBoxName;
newVBox.addChild(loadSWF );
nav.selectedIndex =
findComponent(str);
}
}
thanks
raaja
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

