mdm.Browser onDocumentComplete事件未在MAC OSX中触发

时间:2014-05-22 14:20:40

标签: macos flex3 mdm-zinc zinc-4

在我的基于MAC的应用程序中,我已将客户端登录URL加载到mdm浏览器实例中。浏览器实例未在MAC 10.6及更高版本上触发onDocumentComplete事件。

以下是我试图实现相同的变体:

_myBrowser = new mdm.Browser("c", "c", "50%", "50%", "http://www.multidmedia.com", true);

Alternative 1:

_myBrowser.onDocumentComplete = function(event:mdm.Event):void {
  mdm.Dialogs.prompt("calling in document complete");
  alert.show("calling in document complete");
}

Alternate 2:

_myBrowser.onDocumentComplete = function(myObject)
{
   alert.show("calling in document complete");
   //message = myObject.url + " loaded successfully!");
}

Alternate 3:

_myBrowser.addEventListener("onDocumenteComplete", onDocumenteCompleteHandler);

function onDocumenteCompleteHandler(event:mdm.Event):void
{
   mdm.Dialogs.prompt("calling in document complete");
   var url:String = event.data.result;
};

不幸的是,上述替代品都没有奏效。这在Windows操作系统中正常运行。

我使用过MDM 4.0.14。可能是什么问题?

0 个答案:

没有答案
相关问题