actionscript 3 - auto update in flex application -


I am using Auto Update in my Flex application using the Updater framework. I found this article and followed the same steps.

But I am getting an error and do not understand the reason:

1046: Type was not found or A compilation time was not stable: UpdateEvent.

  import flash.events.ErrorEvent; Import air.update.ApplicationUpdaterUI; Import air.update.events.UpdateEvent; Import mx.controls.Alert; Private var app updater: ApplicationUpdaterUI = new ApplicationUpdaterUI (); Private Function CheckerUpdates (): Zero {appUpdater.configurationFile = new file ("app: /updateConfig.xml"); AppUpdater.isCheckForUpdateVisible = false; AppUpdater.addEventListener (UpdateEvent.INITIALIZED, updaterInitialised); AppUpdater.initialize (); } Private Function Updater Initial (Event: Update Event): Zero {appUpdater.checkNow (); }  

I have not used this specific functionality, but since you have updatedEvent time Class on compilation I doubt that you are not compiling for Air 1.5.

If you get from Adobe, then it should be resolved.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -