0 Replies Latest reply on Nov 29, 2009 3:19 PM by echo0101

    Flash Builder 4 and Adobe AIR 2


      I'm trying to figure out how to use AIR 2 with Flash Builder 4.  I was initially under the impression that FB4 has AIR2... but the when I create a File object and try to call the function openWithDefaultApplication().  An error occurs saying the function doesn't exist.  This is the AIR application I created in FB4.  Am I doing something wrong or do I need to install AIR 2 somehow -- and if so, how do I do so?


      <?xml version="1.0" encoding="utf-8"?>
      <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" 
                     private function launch():void{
                          var myfile = new File("C:\Windows\notepad.exe");
           <s:Button x="439" y="155" label="Button" mouseDown="launch()"/>


      Thanks in advance.