Help needed from anyone who has experience of using java in conjunction with Flex
I have recently been developing an Adobe Air application using Adobe Flex 3 but require the project I'm working on to do a function that flex does not seem to allow.
What I need is when a user of my created application clicks on a button that is WITHIN the application the F1 key will be outputted to the operating system/desktop. So for example if F1 is binded to a certain program installed on the operating system somehow (which it has been) pressing F1 on the desktop would open this program. I want this to be able to be done at the click of a button within an Adobe AIR application without pressing any keys at all (the system my application will be used on won't have a keyboard).
This may sound strange to anyone who hasn't used Flex and I may be clutching at straws by asking this on Java forums but I have been told by a Flex expert that this would require Java to work and I don't know where else to turn. :confused:
If anyone can help me out and understands Flex, here is the code for my button application so far. I simply need the click function of the button to output F1 to the desktop/OS:-
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="" layout="absolute">
<mx:Button id="LetterButton" label="Button" horizontalCenter="0" verticalCenter="0" click=""/>