Thursday, July 10, 2008

Avoid Spaces in PDF File Names in Adobe AIR on OS X

Another odd quirk of an Adobe AIR application running in OS X is that it will not display a PDF if there is a space in the file name.

I had a menu item which would pop up a new native window, and display a PDF in that window by setting the location of an HTML component to the PDF file. This would work fine on Windows, but the window would launch with a black screen on OS X if there was a space in the filename of the PDF.

Removing the space fixed the problem.

No comments: