simeyla
08-07-2008, 10:21 PM
i have code such as this :
addEventListener(MouseEvent.RIGHT_MOUSE_DOWN, rightMouseDown);
in my application for AIR.
when i deploy it for web I get a compile error telling me it isnt supported in a non AIR deployment.
How can i conditionally compile for this. I want to be able to add AIR specific features but use the same codebase to deploy.
-simon
addEventListener(MouseEvent.RIGHT_MOUSE_DOWN, rightMouseDown);
in my application for AIR.
when i deploy it for web I get a compile error telling me it isnt supported in a non AIR deployment.
How can i conditionally compile for this. I want to be able to add AIR specific features but use the same codebase to deploy.
-simon