# Air Updater Tutorial - Am I understanding this correctly?

**URL:** <https://forum.kirupa.com/t/air-updater-tutorial-am-i-understanding-this-correctly/311149>\
**Category:** flash\
**Created:** [June 28, 2010, 11:42pm UTC](https://forum.kirupa.com/t/air-updater-tutorial-am-i-understanding-this-correctly/311149 "2010-06-28T23:42:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Solidus](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@Solidus](https://forum.kirupa.com/u/Solidus)\
**Post date:** [June 28, 2010, 11:42pm UTC](https://forum.kirupa.com/t/air-updater-tutorial-am-i-understanding-this-correctly/311149/1 "2010-06-28T23:42:41Z")

</div>

Sorry for blasting the forum with 2 threads but I just want to make sure I am understanding this tutorial correctly.

In the Adobe AIR app that I have created in the code there is a specific section for a .xml file that AIR utilizes to update the Application.

The tutorial code is here:

//initialize the updater; gets called when the application is loaded  
function initializeUpdater():void {  
setApplicationNameAndVersion();  
\*\* appUpdater.updateURL = “[http://localhost/updater/update\_flash.xml](http://localhost/updater/update_flash.xml)”;\*\*  
//we set the event handlers for INITIALIZED nad ERROR  
  
In his code he is running the update off of his computer but since my app will need to  
access a actual server I replaced it with this:

\*\*appUpdater.updateURL = “[http://www.globalstudio.com/clients/Securitron/updater/update\_flash.xml](http://www.globalstudio.com/clients/Securitron/updater/update_flash.xml)”;

\*\*\*In his .XML file: \*\*\*\*\*_update\_flash.xml_

\*\*\*\*He has the following code:  
\<?xml version=“1.0” encoding=“utf-8”?\>  
\<update xmlns=“[http://ns.adobe.com/air/framework/update/description/1.0](http://ns.adobe.com/air/framework/update/description/1.0)”\>  
\<version\>1.2\</version\>  
**\<url\>[http://localhost/updater/air\_update\_flash.air](http://localhost/updater/air_update_flash.air)\</url\>**  
\<description\>\<![CDATA[  
This version has fixes for the following known issues:  
\*First issue  
\*Second issue  
]]\>\</description\>  
\</update\>

I replaced it with:

\*\* \<url\>[http://www.globalstudio.com/clients/Securitron/updater/air\_update\_flash.air](http://www.globalstudio.com/clients/Securitron/updater/air_update_flash.air)\</url\>\*\*

And that’s it. I should be okay with that right?
