I have an AIR application in which I have to start some native applications in a windows machine.But the problem I am facing is that whenever I try to create a NativeProcess instance,I am getting a compiler error because NativeProcess is not getting imported into the project.I tried import flash.desktop.*; Even then no use.I have also added <supportedProfiles>extendedDesktop</supportedProfiles>
in the application descriptor file.I am using FlashBuilder 4 with Flex 4 SDK
Anything else I need to do to make it work?
Figured it out.Actually,I was under the wrong impression that FlashBuilder 4 ships with AIR 2 SDK(needed for NativeProcess and related classes).So I did a fresh install of AIR 2 SDK by following the steps in this link and the issue was solved.