AIR app | disable .swf

Hi,
I’ve made an AIR Application.
It definitely has a .swf file.

Running the .swf file alone works till a point where user tries to press keys like A, S, D, etc from the keyboard which will not be detected as the .swf if running using a flash player.

So inorder to avoid such problem I’d not allow the users to run the .swf file natively.
Only if the .exe is clicked it must run.

So is there any functions that implement this??

Thank You