Solved

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

Posted on 2009-05-16
3
826 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

689 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