A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: air app updater

Threaded View

  1. #1
    Member
    Join Date
    Oct 2009
    Location
    New England
    Posts
    79

    air app updater

    i have an air app that i put some updater code into and i keep getting 1 of 2 errors.
    When i test the app in Flash i get Error ID: 404. Invalid HTTP status code: 404

    when i install the application and run it i get Error ID: 2032. Error #2032

    the error windows are the windows that are written into the code to come up so i know that part of the code is working. Any ideas or similar experiences?


    var appUpdater:ApplicationUpdater = new ApplicationUpdater();
    var window:NativeWindow;
    var windowContent:myWindow = new myWindow();
    var existentListenersictionary = new Dictionary();

    //initialize the updater; gets called when the application is loaded
    function initializeUpdater():void {
    setApplicationNameAndVersion();
    appUpdater.updateURL = "http://www.mysite.com/myapp/updater/update.xml"; <-----this xml file has a url tag pointing to the new .air file

    this is the xml file info:

    <?xml version="1.0" encoding="utf-8"?>
    <update xmlns="http://ns.adobe.com/air/framework/update/description/1.1">
    <version>1.1</version>
    <url>http://www.mywebsite.com/updater/newVersion.air.zip</url>
    <description><![CDATA[
    This version has fixes for the following known issues:
    *This issue
    *That issue
    ]]></description>
    </update>
    Last edited by hjguerin; 11-16-2009 at 12:48 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center