9 Replies Latest reply on May 3, 2008 6:15 AM by robtech2000

    Error publishing Air in Flash CS3

    FrAgFo0d
      Hi All

      On the Adobe Air Flash CS3 wiki page
      ( http://labs.adobe.com/wiki/index.php/AIR:Flash_CS3_Professional_Update:Getting_Started_wit h_AIR_for_Flash_CS3_Professional)

      I found a simlpe tutorial "Creating an Adobe AIR application in Flash"
      I thought well this can't be hard can it?

      However when I use the Publish Air File button in the 'AIR - Applications and Installer Settings' window I will get the following error:

      "namespace is invalid in the application descriptor file"

      Now I have tried to look into the XML file but I cannot see any problems.
      I also tried to use the descriptor-template.xml which came with the Air - SDK

      However also that will not work.

      Has anyone got an idea why I get this error?
        • 1. Re: Error publishing Air in Flash CS3
          FrAgFo0d Level 1
          ow btw my XML file looks like this:

          <?xml version="1.0" encoding="utf-8" ?>
          <application xmlns=" http://ns.adobe.com/air/application/1.0">

          <id>nl.wedefo.helloAir</id>
          <filename>helloAir</filename>
          <name>helloAir</name>
          <version>1.0</version>

          <initialWindow>
          <content>helloAir.swf</content>
          <title>Hello Air</title>
          <systemChrome>standard</systemChrome>
          <transparent>false</transparent>
          <visible>true</visible>
          </initialWindow>


          <icon>
          <image16x16>AIRApp_128.png</image16x16>
          <image32x32>AIRApp_128.png</image32x32>
          <image48x48>AIRApp_128.png</image48x48>
          <image128x128>AIRApp_128.png</image128x128>
          </icon>

          <customUpdateUI>false</customUpdateUI>
          <allowBrowserInvocation>false</allowBrowserInvocation>

          </application>
          • 2. Re: Error publishing Air in Flash CS3
            san_flash Level 2
            I don't see anything wrong in the file you posted. Please try rename the helloAir-app.xml to something else, test movie, then open the application and installer settings and try publishing again.

            Thanks,
            San
            • 3. Re: Error publishing Air in Flash CS3
              FrAgFo0d Level 1
              Hi San,

              I also that will not work.
              I think it has something to do with the Air update for flash.

              Now that I come to think of it.
              I think I need to remove some files from the computer and install the stuff again to see what happens.

              Thanks for your awnser...
              • 4. Re: Error publishing Air in Flash CS3
                Oliver Goldman Adobe Employee
                The namespace is correct for AIR 1.0. Perhaps you have a beta version of the Flash extension installed?

                Oliver Goldman | Adobe AIR Engineering

                • 5. Re: Error publishing Air in Flash CS3
                  FrAgFo0d Level 1
                  Hi Oliver,

                  I used the http://labs.adobe.com/wiki/index.php/AIR:Flash_CS3_Professional_Update page to see how to uninstall the Air beta's (if there where any).

                  I did all the uninstalling possible, however it still would not run.

                  However I also installed the:
                  flash9_en_us_9_0_2_update.exe
                  and
                  flash9_en_us_9_0_3_update.exe

                  I cannot find how to uninstall those two.

                  So I will now uninstall all Flash CS3 and then take away the all the files from the harddrive. Let's see if this solves the problem.

                  • 6. Re: Error publishing Air in Flash CS3
                    FrAgFo0d Level 1
                    ok reinstalling Flash CS and install the update which I found on
                    http://labs.adobe.com/wiki/index.php/AIR:Flash_CS3_Professional_Update

                    Does the publishing trick.

                    Unfortunately when installing my video.air I will get my next error:
                    "This application requires a version of Adobe AIR which is no longer supported. please contact the application author for an updated version"

                    Too bad that I am the author. Anyone knows how to solve this problem?
                    • 7. Re: Error publishing Air in Flash CS3
                      FrAgFo0d Level 1
                      I tried to download the newest runtime version from Adobe
                      ( http://get.adobe.com/air/)

                      Downloading and updating it however does not help.
                      I am affraid, the Flash CS3 patch contains the older version...
                      • 8. Re: Error publishing Air in Flash CS3
                        FrAgFo0d Level 1
                        For more info about the namespace:

                        With the correct flash update (at least with the one which accepts publishing it). The XML file did change from:

                        <?xml version="1.0" encoding="utf-8" ?>
                        <application xmlns=" http://ns.adobe.com/air/application/1.0">

                        To:
                        <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
                        <application xmlns=" http://ns.adobe.com/air/application/1.0.M6">

                        So the good namespace should probably just be 1.0.M6

                        However this same one might give me troubles with installing the video.air file
                        • 9. Re: Error publishing Air in Flash CS3
                          Hi FragFood!

                          I received the same error "Namespace is invalid in the application descriptor file" repeatedly on many computers (XP/Vista) and here is how i repeatedly worked around it.

                          I made a step-by-step sheet explaining exactly how to install Flash CS3 (9.0) with the Latest Flash Player (v9.0.124), and with Adobe AIR (1.0) as of today (3/May/2008).


                          If you have already installed Flash CS3
                          Uninstall Flash CS3
                          Goto all the "Program Data" folders, RENAME/DELETE the "en" folder
                          Goto "Program Files" folder, RENAME/DELETE the "en" folder


                          Now to get the latest version of Flash CS3 installed!
                          Please follow these steps exactly; each one is extremely important.


                          Installing Adobe Flash CS3
                          #1. Install Flash CS3
                          #2. Open Flash, Close it

                          Installing Adobe AIR Runtime
                          #3. Download & Install "AdobeAIRInstaller.exe"
                          ---> Adobe AIR Download Center

                          Installing Adobe Flash Player Update for Flash CS3 Professional (9.0.2) -- 12/12/2007
                          #4. Download & Install "flash9-en_US_9_0_2_Update.exe"
                          ---> English/Windows, English/Macintosh, Other Languages

                          Installing Adobe AIR Update for Flash CS3 Professional -- 2/25/2008
                          #5. Download & Install "flash9-en_US_9_0_3_Update.exe"
                          ---> English/Windows, English/Macintosh, Other Languages

                          Installing Adobe AIR update beta 3 for Flash CS3 Professional – Updated 12/14/07
                          #6. Download & Install "flashcs3_air_extension_p3_en_121407.exe"
                          ---> Multi-lingual/Windows, Multi-lingual/Macintosh, Other Languages
                          #7. Open Flash, Close it

                          Installing Adobe AIR Update for Flash CS3 Professional -- 2/25/2008
                          #8. Install "flash9-en_US_9_0_3_Update.exe" again
                          ---> see #5
                          #9. Open Flash, Close it

                          Installing Adobe Flash Player Update for Flash CS3 Professional -- 04/17/2008
                          #10. Browse to "C:\Program Files\Adobe\Adobe Flash CS3", DELETE the "Players" folder
                          #11. Download "flash_player_update6_flash9.zip"
                          ---> Multi-lingual/Windows/Macintosh
                          #12. Copy the "Players" folder from "flash_player_update6_flash9.zip"
                          #13. Paste into "C:\Program Files\Adobe\Adobe Flash CS3"


                          To test your Flash Player installation... (Optional)
                          Open Flash
                          Create New > Flash File (AS 3)
                          File > Publish Settings
                          Checkmark "Windows Projector .exe", OK
                          File > Save, Save it someplace with any name
                          File > Publish
                          Now browse to the folder you saved the FLA File
                          Look at your EXE File
                          You should see a "Red colored square" icon instead of the usual "Blue colored circle" one

                          To test your AIR installation... (Optional)
                          Open Flash
                          Create New > Flash File (AIR)
                          Click OK on the message that appears
                          File > Save, Save it someplace with any name
                          Commands > "AIR - Create AIR file"
                          Then on the dialog that appears asking you for a Digital Certificate:
                          Press Create...
                          Type some info, and a password, and save it into the same folder you saved the FLA File
                          Now type the same password again, Press OK
                          If you see an error "Unable to contact timestamping server", press "Continue without timestamping"
                          You should see a message "AIR File has been created" !!!



                          Enjoy Flash CS3 with the Latest Flash Player (v9.0.124), and with Adobe AIR (1.0) !!

                          Faithfully,
                          Robin.