I have been building a HTML based AIR application that uses a transparent window (doesn't use the system chrome). I want the window to have a drop-shadow effect which using a combination of JavaScript and CSS3 I make the shadow change depending on window focus. And when the window is maximised the shadow will be removed completely.
The application looks like the following (wireframe diagram):

The red area is the <html> container itself. The blue box is the application content area (a simple <div>) and the black border with green shadow is a container <div> that is positioned absolute on the page. This black container is the application itself in my design.
As you can see the black border (around the blue box) has a subtle green shadow in the outer edges of the page.
The problem is that because the <html> is the application in AIR it means that the application can never touch the edge of the screen due to the fact that AIR is treating the <html> as the application edge rather than the container <div> for the black border.
Any ideas on how to get around this? The only thing I could think of was some crazy JavaScript that could offset the application somehow.... Anyone else had this problem?