2 Replies Latest reply on Aug 17, 2010 7:21 AM by DonMitchinson

    FB 4.0.1 and Air App - Application Descriptor Namespace

    DonMitchinson Level 2

      Just updated to FB 4.0.1 because it now includes Adobe Air 2.0.2 but I can't figure out

      why it throws an error now from the Air ApplicationUpdater


      I changed my project to use the new flex sdk 4.1.0 and everything compiles fine

      but I starting the app it throws an Air ApplicationUpdater error after going into function called

      from applicationComplete event. Error message is:


      Error Checking For Update: [StatusUpdateErrorEvent (type=updateError text=unknown update version id=16815 + subErrorID=0)]


      My app xml namespace doesn't seem to matter - it always generates error but it is currently

      <application xmlns="http://ns.adobe.com/air/application/2.0">




      Basic code:


           private var appUpdater:ApplicationUpdaterUI = new ApplicationUpdaterUI();




           private function checkForUpdate():void {

                setApplicationVersion(); // Find the current version so we can show it below

                appUpdater.updateURL = XML_UPDATE_FILE; // Server-side XML file describing update

                appUpdater.isCheckForUpdateVisible =

      false; // We won't ask permission to check for an update

                appUpdater.addEventListener(UpdateEvent.INITIALIZED, onUpdate);

                appUpdater.addEventListener(StatusUpdateErrorEvent.UPDATE_ERROR, onUpdateStatusError);

                appUpdater.addEventListener(ErrorEvent.ERROR, onError);



                // If something goes wrong, run onError








           private function onError(event:ErrorEvent):void {





           private function onUpdateStatusError(event:StatusUpdateErrorEvent):void {


      'Error Checking For Update: ' + event.toString());




           private function onUpdate(event:UpdateEvent):void {




                // Go check for an update now .checkNow



      Anyone know how to fix this error or why it is being generated?


      Thanks for any any suggestions.