微量元素对Chrome浏览器/浏览器控制台浏览器、微量元素、控制台、Chrome

2023-09-08 14:04:14 作者:辰子味奶茶

有谁知道如何使用FLEX3在谷歌浏览器控制台的跟踪消息。在例如日志部分

解决方案

 进口的flash.external.ExternalInterface;

ExternalInterface.call(的console.log,YourString);
 

看到这里了解更多信息。

Does anybody know how to trace messages in the google chrome console using Flex3. In the logs section for example.

解决方案 Chrome浏览器的JavaScript控制台

import flash.external.ExternalInterface;

ExternalInterface.call("console.log", "YourString");

See here for more information.