본문 바로가기

AS3/ActionScript

플래시에서 새로고침하기

startover.addEventListener(MouseEvent.CLICK, removeallFunction);

function removeallFunction (event:MouseEvent):void 
{
  if (ExternalInterface.available){
    ExternalInterface.call("function startover(){document.location.reload()}");
  }
}