是Adobe AIR';s openWithDefaultApplication()在AJAX SDK中不可用?
我能找到的AdobeAIR的是Adobe AIR';s openWithDefaultApplication()在AJAX SDK中不可用?,air,Air,我能找到的AdobeAIR的openWithDefaultApplication()函数的唯一文档是FlexSDK中的教程。使用此功能是否需要Flex 通过JavaScript调用它会导致: TypeError: Value undefined does not allow function calls. 我正在使用的代码: var poster = air.File.applicationDirectory.resolvePath('posters/CR-1/CR-1.pps'); air.
openWithDefaultApplication()
函数的唯一文档是FlexSDK中的教程。使用此功能是否需要Flex
通过JavaScript调用它会导致:
TypeError: Value undefined does not allow function calls.
我正在使用的代码:
var poster = air.File.applicationDirectory.resolvePath('posters/CR-1/CR-1.pps');
air.trace(poster); // [object File]
poster.openWithDefaultApplication();
应用程序文件可能设置为。。。。 你必须把它改成 要使2.0+功能正常工作