The only documentation of Adobe AIR's openWithDefaultApplication()
function I can find is a tutorial for it in the Flex SDK. Is Flex required to use this function?
Calling it via JavaScript results in:
TypeError: Value undefined does not allow function calls.
The code I'm using:
var poster = air.File.applicationDirectory.resolvePath('posters/CR-1/CR-1.pps');
air.trace(poster); // [object File]
poster.openWithDefaultApplication();