• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 868
  • Last Modified:

How can I get the ApplicationUpdaterUI to work (flash cs4)

I am trying to add an updater to an AIR application. I have downloaded the Flex SDK and included the .swc in my project as per some tutorials I read. The error I get is "1046: Type was not found or was not a compile-time constant: ApplicationUpdaterUI.". As far as I can tell, this should work.

Does Flash have another method of updating AIR apps?

(I'm giving every point I have :) )
import air.update.ApplicationUpdaterUI;
	import air.update.events.*;
...
	initFunction(){
...
		var updater:ApplicationUpdaterUI = new ApplicationUpdaterUI();
}

Open in new window

0
pedro_sland
Asked:
pedro_sland
  • 2
1 Solution
 
rascalpantsCommented:

you should try just using the ApplicationUpdater class, not the ApplicationUpdateUI class...  


rp / ZA

0
 
pedro_slandAuthor Commented:
Thanks, I should have tried that. I feel so stupid now. Easy points for you :)
0
 
rascalpantsCommented:

you would be suprised...  it actually took me a bit to find it cause that class was not in the Adobe Technology Platform ActionScript Reference.


rp / Zone Advisor
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now