Pure AS3 AIR ApplicationUpdaterUI

This may be well known, but it wasn’t terribly obvious to me from Adobe’s documentation.

If you want to use the adobe AIR update framework including the UI in a pure AS3 AIR project, it looks like you need to start using the flex framework.Indeed, the documentation for “flash apps” recommends custom building an interface.

This is unnecessary – I picked out the applicationupdater_ui.swc from flex_sdk\frameworks\libs\air and accessed the ApplicationUpdaterUI class just as the documentation advised for a flex implementation and Lo – it’s all there, and it doesn’t include the whole of flex. It does add a few hundred kb, but it’s an installable AIR app, so that’s not such a big deal.



4 thoughts on “Pure AS3 AIR ApplicationUpdaterUI”

  1. Hi,
    please I ve done similaire, but I still have an error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at air.update.ui::EmbeddedUILoader/unload()[G:Acro_root_apanzMaincodebuildwinintFrameworksApplicationUpdateruiairupdateuiEmbeddedUILoader.as:139]
    at air.update.ui::EmbeddedUILoader/onExiting()[G:Acro_root_apanzMaincodebuildwinintFrameworksApplicationUpdateruiairupdateuiEmbeddedUILoader.as:127]
    at air.update.ui::EmbeddedUILoader/onWindowClose()[G:Acro_root_apanzMaincodebuildwinintFrameworksApplicationUpdateruiairupdateuiEmbeddedUILoader.as:117]

  2. hmm… not sure – what version of flex are you taking it from? How are you using ApplicationUpdaterUI?

Leave a Reply

Your email address will not be published. Required fields are marked *