Skip navigation
urubh
Currently Being Moderated

Update adobe air

Aug 10, 2011 11:06 AM

Hi,

 

I would like update on air application by server; But nothing happens, there anyone one solution, because my application doesn't update, and i don't see some error.

 

see the code below

 

 

protected function windowedapplication1_creationCompleteHandler(event:FlexEvent):void

{

update();

setUpListeners();

}

 

private function update():void

{

_appUpdater            = new ApplicationUpdater();

_appUpdater.updateURL  = "http://localhost:3722/WebSite1/AirUpdates/descritor.xml";

 

}

 

protected function button3_clickHandler(event:MouseEvent):void

{

_appUpdater.initialize();

}

 

 

 

my descritor.xml

 

<?xml version="1.0" encoding="utf-8"?>

     <update xmlns="http://ns.adobe.com/air/framework/update/description/2.5">

       <versionNumber>0.0.20</versionNumber>

       <url>http://localhost:3722/WebSite1/AirUpdates/UpdateAir.air</url>

       <description />

    </update>

 

 

 

 

thanks.

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points