Solved

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

Posted on 2009-05-16
3
817 Views
Last Modified: 2013-11-11
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
Comment
Question by:pedro_sland
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
rascalpants earned 165 total points
ID: 24416601

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


rp / ZA

0
 
LVL 2

Author Closing Comment

by:pedro_sland
ID: 31582198
Thanks, I should have tried that. I feel so stupid now. Easy points for you :)
0
 
LVL 22

Expert Comment

by:rascalpants
ID: 24441842

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now