hi all,
when i use the below code the once created instance of (popfind = new
uMasterGridSearch) the memory is created and stabled
how to remove/destroy the instance created in the above popfind = new
uMasterGridSearch component...
bcaz i have so many popups in my mass application if all the popups
are opened then the memory occupies that my total popups count so ....
waiting for ur all replies...
thanks,
raaja
Code:
--------
private function Find_Rec():void
{
if (popfind==null)
{
popfind = new uMasterGridSearch;
}
popfind.addEventListener("close", PopCancel_Find,false,0,true);
PopUpManager.addPopUp(popfind, this, true);
PopUpManager.centerPopUp(popfind);
}
private function PopCancel_Find(event:Event):void
{
PopUpManager.removePopUp(IFlexDisplayObject(event.currentTarget));
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---