hi
         I have cleared shared Object using  addcallback();
   It is not working properly ,this method is called when i refresh the
browser.It should called when i close the browser.

here my code
mxml
public function isLoaded():void
{
 ExternalInterface.addCallBack("clear",clearValue);
  //did some work based on shared object value
}
public function save():void
{
 //save the shared objects values
sh.flush();
}
public function clearValue():
{
  sh.clear();
}


//java script coding

window.onbeforeunload=function(){ swfname.clear();}
-- 
Best Regards
Baskaran.R

-- 
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.

Reply via email to