Solved

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

Posted on 2009-05-16
3
814 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

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…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
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…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

708 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

13 Experts available now in Live!

Get 1:1 Help Now