Air.update.ApplicationUpdaterUI in Flash IDE
I can't for the life of me get this part of AIR to work for me in the Flash IDE. I hunted down the .as files and added them to my class paths, but when I tried to compile it couldn't find the swf files it needed.
Can anyone help me out here?
I apparently needed to add the "(CS5 Folder)\AIK2.5\frameworks\libs\air" to the Libraries part of my AS3 settings.
Similar Messages
-
AIR Update framework with Flash Builder
Hi,
I am not sure if this is the right place but since this problem happens with the new Flash Builder 4 and AIR, I am putting it here :
When I run the Air update framework with the new flash builder , i get this exception when I call appUpdater.initialize() in the same given in http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&product Id=4&postId=9543
The error is
TypeError: Error #1007: Instantiation attempted on a non-constructor.
at mx.controls::ProgressBar/createChildren()
at mx.core::UIComponent/initialize()[E:\dev\beta1\frameworks\projects\framework\sr c\mx\core\UIComponent.as:6510]
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3879]
at mx.core::Container/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\ mx\core\Container.as:2541]
at mx.core::Container/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx \core\Container.as:2459]
at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_ApplicationUpdaterVBox10_c ()
at mx.core::DeferredInstanceFromFunction/getInstance()[E:\dev\beta1\frameworks\pro jects\framework\src\mx\core\DeferredInstanceFromFunction.as:105]
at mx.states::AddChild/createInstance()
at mx.states::AddChild/set targetFactory()
at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_AddChild8_i()
at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_State7_c()
at ApplicationUpdaterDialogs()
at _ApplicationUpdaterDialogs_mx_managers_SystemManager/create()
at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\beta1\frameworks\p rojects\framework\src\mx\managers\SystemManager.as:3581]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\SystemManager.as:3 400]
at mx.managers::SystemManager/docFrameListener()[E:\dev\beta1\frameworks\projects\ framework\src\mx\managers\SystemManager.as:3258]
The code is the exact same give in the example i mentioned above.
This works fine in my Flex Builder 3.
Thanks
Hironmay Basuthe issue is already reported here:
http://bugs.adobe.com/jira/browse/SDK-22886?page=com.atlassian.jira.plugin.system.issuetab panels:all-tabpanel
As a workaround, you can try using:
http://www.websector.de/blog/2009/09/09/custom-applicationupdaterui-for-using-air-updater- framework-in-flex-4/ -
Air Update Framework Issue... Help please!
The following code is from the Air Employee Directory example
to which I have added an Update Object, the app installs and
updates with no problem, but as soon as the update is done and it's
time for the app to start, the app just doesn't come up. It was
working fine before I added the update object... Any idea on what I
could be doing wrong?
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" xmlns:ui="com.adobe.empdir.ui.*"
applicationComplete="onApplicationComplete()" height="100%"
width="100%" frameRate="45"
horizontalScrollPolicy="off" verticalScrollPolicy="off"
visible="false"
showEffect="Fade" xmlns:local="*"
creationComplete="checkUpdate()">
<mx:Script>
<![CDATA[
import mx.logging.Log;
import com.adobe.empdir.commands.ui.CloseApplicationCommand;
import mx.binding.utils.BindingUtils;
import mx.events.StateChangeEvent;
import mx.events.ResizeEvent;
private function onApplicationComplete() : void
callLater( ui.init );
// We listen to CLOSING fromboth the stage and the UI. If
the user closes the app through the taskbar,
// Event.CLOSING is emitted from the stage. Otherwise, it
could be emitted from TitleConrols.mxml.
ui.addEventListener( Event.CLOSING, onWindowClosing );
stage.nativeWindow.addEventListener( Event.CLOSING,
onWindowClosing );
stage.nativeWindow.addEventListener( Event.CLOSE,
onWindowClose );
private function onWindowClose( evt:Event ) : void
NativeApplication.nativeApplication.exit();
private function onWindowClosing( evt:Event ) : void
evt.preventDefault();
var cmd : CloseApplicationCommand = new
CloseApplicationCommand();
cmd.execute();
]]>
</mx:Script>
<mx:Script>
<![CDATA[
import air.update.events.UpdateEvent;
import mx.controls.Alert;
import flash.events.ErrorEvent;
import air.update.ApplicationUpdaterUI;
* @var the object that that handles the update related
actions
private var appUpdater:ApplicationUpdaterUI = new
ApplicationUpdaterUI();
* This function is triggered when the application finished
to load;
* Here we initialize <code>appUpdater</code> and
set some properties
private function checkUpdate():void {
setApplicationVersion();
// we set the URL for the update.xml file
appUpdater.updateURL = "
http://localhost/updater/update.xml";
//we set the event handlers for INITIALIZED nad ERROR
appUpdater.addEventListener(UpdateEvent.INITIALIZED,
onUpdate);
appUpdater.addEventListener(ErrorEvent.ERROR, onError);
//we can hide the dialog asking for permission for checking
for a new update;
//if you want to see it just leave the default value (or set
true).
appUpdater.isCheckForUpdateVisible = false;
//if isFileUpdateVisible is set to true, File Update, File
No Update,
//and File Error dialog boxes will be displayed
appUpdater.isFileUpdateVisible = false;
//if isInstallUpdateVisible is set to true, the dialog box
for installing the update is visible
appUpdater.isInstallUpdateVisible = false;
//we initialize the updater
appUpdater.initialize();
* Handler function triggered by the
ApplicationUpdater.initialize;
* The updater was initialized and it is ready to take
commands
* (such as <code>checkNow()</code>
* @param UpdateEvent
private function onUpdate(event:UpdateEvent):void {
//start the process of checking for a new update and to
install
appUpdater.checkNow();
* Handler function for error events triggered by the
ApplicationUpdater.initialize
* @param ErrorEvent
private function onError(event:ErrorEvent):void {
Alert.show(event.toString());
* A simple code just to read the current version of the
application
* and display it in a label.
private function setApplicationVersion():void {
var appXML:XML =
NativeApplication.nativeApplication.applicationDescriptor;
var ns:Namespace = appXML.namespace();
]]>
</mx:Script>
<mx:TraceTarget level="0" includeDate="false"
includeTime="false"
includeCategory="true" includeLevel="true">
<mx:filters>
<mx:Array>
<mx:String>*</mx:String>
</mx:Array>
</mx:filters>
</mx:TraceTarget>
<ui:ApplicationUI id="ui" width="100%" height="100%"
/>
</mx:Application>This was an issue with the Update Framework in AIR SDK 1.5.3, which has been fixed. If you still want to use the ApplicationUpdaterUI, you can replace the swc in Flex SDK 3.6 with an applicationupdater_ui.swc from a newer version of AIR.
Have a look at solution 3 in this post for some details on where to find the applicationupdater_ui.swc and how to replace it.
http://forums.adobe.com/message/3060118#3060118
Hope this helps!
Horia -
Flex/Air Update Object Issue...
The following code is from the Air Employee Directory example
to which I have added an Update Object, the app installs and
updates with no problem, but as soon as the update is done and it's
time for the app to start, the app just doesn't come up. It was
working fine before I added the update object... Any idea on what I
could be doing wrong?
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" xmlns:ui="com.adobe.empdir.ui.*"
applicationComplete="onApplicationComplete()" height="100%"
width="100%" frameRate="45"
horizontalScrollPolicy="off" verticalScrollPolicy="off"
visible="false"
showEffect="Fade" xmlns:local="*"
creationComplete="checkUpdate()">
<mx:Script>
<![CDATA[
import mx.logging.Log;
import com.adobe.empdir.commands.ui.CloseApplicationCommand;
import mx.binding.utils.BindingUtils;
import mx.events.StateChangeEvent;
import mx.events.ResizeEvent;
private function onApplicationComplete() : void
callLater( ui.init );
// We listen to CLOSING fromboth the stage and the UI. If
the user closes the app through the taskbar,
// Event.CLOSING is emitted from the stage. Otherwise, it
could be emitted from TitleConrols.mxml.
ui.addEventListener( Event.CLOSING, onWindowClosing );
stage.nativeWindow.addEventListener( Event.CLOSING,
onWindowClosing );
stage.nativeWindow.addEventListener( Event.CLOSE,
onWindowClose );
private function onWindowClose( evt:Event ) : void
NativeApplication.nativeApplication.exit();
private function onWindowClosing( evt:Event ) : void
evt.preventDefault();
var cmd : CloseApplicationCommand = new
CloseApplicationCommand();
cmd.execute();
]]>
</mx:Script>
<mx:Script>
<![CDATA[
import air.update.events.UpdateEvent;
import mx.controls.Alert;
import flash.events.ErrorEvent;
import air.update.ApplicationUpdaterUI;
* @var the object that that handles the update related
actions
private var appUpdater:ApplicationUpdaterUI = new
ApplicationUpdaterUI();
* This function is triggered when the application finished
to load;
* Here we initialize <code>appUpdater</code> and
set some properties
private function checkUpdate():void {
setApplicationVersion();
// we set the URL for the update.xml file
appUpdater.updateURL = "
http://localhost/updater/update.xml";
//we set the event handlers for INITIALIZED nad ERROR
appUpdater.addEventListener(UpdateEvent.INITIALIZED,
onUpdate);
appUpdater.addEventListener(ErrorEvent.ERROR, onError);
//we can hide the dialog asking for permission for checking
for a new update;
//if you want to see it just leave the default value (or set
true).
appUpdater.isCheckForUpdateVisible = false;
//if isFileUpdateVisible is set to true, File Update, File
No Update,
//and File Error dialog boxes will be displayed
appUpdater.isFileUpdateVisible = false;
//if isInstallUpdateVisible is set to true, the dialog box
for installing the update is visible
appUpdater.isInstallUpdateVisible = false;
//we initialize the updater
appUpdater.initialize();
* Handler function triggered by the
ApplicationUpdater.initialize;
* The updater was initialized and it is ready to take
commands
* (such as <code>checkNow()</code>
* @param UpdateEvent
private function onUpdate(event:UpdateEvent):void {
//start the process of checking for a new update and to
install
appUpdater.checkNow();
* Handler function for error events triggered by the
ApplicationUpdater.initialize
* @param ErrorEvent
private function onError(event:ErrorEvent):void {
Alert.show(event.toString());
* A simple code just to read the current version of the
application
* and display it in a label.
private function setApplicationVersion():void {
var appXML:XML =
NativeApplication.nativeApplication.applicationDescriptor;
var ns:Namespace = appXML.namespace();
]]>
</mx:Script>
<mx:TraceTarget level="0" includeDate="false"
includeTime="false"
includeCategory="true" includeLevel="true">
<mx:filters>
<mx:Array>
<mx:String>*</mx:String>
</mx:Array>
</mx:filters>
</mx:TraceTarget>
<ui:ApplicationUI id="ui" width="100%" height="100%"
/>
</mx:Application>The following code is from the Air Employee Directory example
to which I have added an Update Object, the app installs and
updates with no problem, but as soon as the update is done and it's
time for the app to start, the app just doesn't come up. It was
working fine before I added the update object... Any idea on what I
could be doing wrong?
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" xmlns:ui="com.adobe.empdir.ui.*"
applicationComplete="onApplicationComplete()" height="100%"
width="100%" frameRate="45"
horizontalScrollPolicy="off" verticalScrollPolicy="off"
visible="false"
showEffect="Fade" xmlns:local="*"
creationComplete="checkUpdate()">
<mx:Script>
<![CDATA[
import mx.logging.Log;
import com.adobe.empdir.commands.ui.CloseApplicationCommand;
import mx.binding.utils.BindingUtils;
import mx.events.StateChangeEvent;
import mx.events.ResizeEvent;
private function onApplicationComplete() : void
callLater( ui.init );
// We listen to CLOSING fromboth the stage and the UI. If
the user closes the app through the taskbar,
// Event.CLOSING is emitted from the stage. Otherwise, it
could be emitted from TitleConrols.mxml.
ui.addEventListener( Event.CLOSING, onWindowClosing );
stage.nativeWindow.addEventListener( Event.CLOSING,
onWindowClosing );
stage.nativeWindow.addEventListener( Event.CLOSE,
onWindowClose );
private function onWindowClose( evt:Event ) : void
NativeApplication.nativeApplication.exit();
private function onWindowClosing( evt:Event ) : void
evt.preventDefault();
var cmd : CloseApplicationCommand = new
CloseApplicationCommand();
cmd.execute();
]]>
</mx:Script>
<mx:Script>
<![CDATA[
import air.update.events.UpdateEvent;
import mx.controls.Alert;
import flash.events.ErrorEvent;
import air.update.ApplicationUpdaterUI;
* @var the object that that handles the update related
actions
private var appUpdater:ApplicationUpdaterUI = new
ApplicationUpdaterUI();
* This function is triggered when the application finished
to load;
* Here we initialize <code>appUpdater</code> and
set some properties
private function checkUpdate():void {
setApplicationVersion();
// we set the URL for the update.xml file
appUpdater.updateURL = "
http://localhost/updater/update.xml";
//we set the event handlers for INITIALIZED nad ERROR
appUpdater.addEventListener(UpdateEvent.INITIALIZED,
onUpdate);
appUpdater.addEventListener(ErrorEvent.ERROR, onError);
//we can hide the dialog asking for permission for checking
for a new update;
//if you want to see it just leave the default value (or set
true).
appUpdater.isCheckForUpdateVisible = false;
//if isFileUpdateVisible is set to true, File Update, File
No Update,
//and File Error dialog boxes will be displayed
appUpdater.isFileUpdateVisible = false;
//if isInstallUpdateVisible is set to true, the dialog box
for installing the update is visible
appUpdater.isInstallUpdateVisible = false;
//we initialize the updater
appUpdater.initialize();
* Handler function triggered by the
ApplicationUpdater.initialize;
* The updater was initialized and it is ready to take
commands
* (such as <code>checkNow()</code>
* @param UpdateEvent
private function onUpdate(event:UpdateEvent):void {
//start the process of checking for a new update and to
install
appUpdater.checkNow();
* Handler function for error events triggered by the
ApplicationUpdater.initialize
* @param ErrorEvent
private function onError(event:ErrorEvent):void {
Alert.show(event.toString());
* A simple code just to read the current version of the
application
* and display it in a label.
private function setApplicationVersion():void {
var appXML:XML =
NativeApplication.nativeApplication.applicationDescriptor;
var ns:Namespace = appXML.namespace();
]]>
</mx:Script>
<mx:TraceTarget level="0" includeDate="false"
includeTime="false"
includeCategory="true" includeLevel="true">
<mx:filters>
<mx:Array>
<mx:String>*</mx:String>
</mx:Array>
</mx:filters>
</mx:TraceTarget>
<ui:ApplicationUI id="ui" width="100%" height="100%"
/>
</mx:Application> -
I am about to cry...or break something atleast.
VerifyError: Error #1014: Class air.update::ApplicationUpdaterUI could not be found.
I am on cs5.5 flash pro.
I am creating an updater.
Library path set for:
applicationupdater_ui.swc
code:
var appUpdater:ApplicationUpdaterUI = new ApplicationUpdaterUI();
appUpdater.configurationFile = new File("app:/updateConfig.xml");
appUpdater.initialize();
appUpdater.checkNow();
updateConfig:
<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns="http://ns.adobe.com/air/framework/update/configuration/1.0">
<url>http://afiadesign.com/vislaw/update.xml</url>
<delay>0</delay>
</configuration>
app descriptor:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<application xmlns="http://ns.adobe.com/air/application/2.6">
<id>HeartMonitor</id>
<versionNumber>1.0</versionNumber>
<filename>HeartMonitor</filename>
<description/>
<!-- To localize the description, use the following format for the description element.<description><text xml:lang="en">English App description goes here</text><text xml:lang="fr">French App description goes here</text><text xml:lang="ja">Japanese App description goes here</text></description>-->
<name>HeartMonitor</name>
<!-- To localize the name, use the following format for the name element.<name><text xml:lang="en">English App name goes here</text><text xml:lang="fr">French App name goes here</text><text xml:lang="ja">Japanese App name goes here</text></name>-->
<copyright/>
<initialWindow>
<content>HeartMonitor.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<fullScreen>false</fullScreen>
<aspectRatio>portrait</aspectRatio>
<renderMode>auto</renderMode>
</initialWindow>
<icon/>
<customUpdateUI>false</customUpdateUI>
<allowBrowserInvocation>false</allowBrowserInvocation>
</application>
update:
<?xml version="1.0" encoding="utf-8"?>
<update xmlns="http://ns.adobe.com/air/framework/update/description/2.5">
<version>1.1</version>
<url>http://afiadesign.com/vislaw/HeartMonitor.air</url>
<description>This is the latest version of the Sample application.</description>
</update>
I don't know what to do?!?!?!?! Please save me from jumping out a windows!Ya I did.....
import flash.display.MovieClip;
import com.vislaw.utils.LoadImgSet;
import flash.display.Stage;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.display.Sprite;
import flash.utils.Timer;
import flash.events.TimerEvent;
import fl.events.SliderEvent;
import flash.display.SimpleButton;
import com.vislaw.utils.DragButton;
import com.vislaw.utils.playControl;
import com.vislaw.utils.LoadingALL;
import com.vislaw.utils.Eraser;
import com.vislaw.utils.magnify;
import flash.net.SharedObject;
import com.vislaw.utils.penTool;
import com.vislaw.utils.highlightTool;
import com.vislaw.utils.lineButton;
import air.update.ApplicationUpdaterUI; <<<<<<HERE
import flash.filesystem.File;
This is very strange.....I had it working on my computer, than I went online and it started failing. I went through a couple issues that i fixed and this "VerifyError: Error #1014: Class air.update::ApplicationUpdaterUI could not be found." is were I got stuck..Any other suggestions?
The wierd thing is that i am using a cs5.5 and i am using applicationupdater_ui.swc..I thought this was something you can import without using a swc in the library path. Is there differnet applicationupdater_ui.swc, one for air 1.5 and one for air 2.5 and higher or do you use the same one? -
AIR Intrinsic Classes-Tried and Proven Approach to building AIR applications in the Flash CS3 IDE
Hi everyone,
For all of you out there who would like to develop AIR
applications
from the Flash CS3 IDE but aren't sure how to get those pesky
intrinsic
classes working, I have a technique that you can work with to
create
your classes and make fully functional AIR applications.
First of all, those solutions out there that list
"intrinsic" functions
in their class definitions won't work. That keyword has been
taken out
and simply won't work. The "native" keyword also doesn't work
because
Flash will reject it. The solution is to do dynamic name
resolution at
runtime to get all the classes you need.
Here's a sample class that returns references to the "File",
"FileStream", and "FileMode" classes:
package com.adobe{
import flash.utils.*;
import flash.display.*;
public class AIR extends MovieClip {
public static function get File():Class {
try {
var classRef:*=getDefinitionByName('flash.filesystem.File');
} catch (err:ReferenceError) {
return (null);
}//catch
return (classRef);
}//get File
public static function get FileMode():Class {
try {
var
classRef:*=getDefinitionByName('flash.filesystem.FileMode');
} catch (err:ReferenceError) {
return (null);
}//catch
return (classRef);
}//get FileMode
public static function get FileStream():Class {
try {
var
classRef:*=getDefinitionByName('flash.filesystem.FileStream');
} catch (err:ReferenceError) {
return (null);
}//catch
return (classRef);
}//get FileStream
}//AIR class
}//com.adobe package
I've defined the package as com.adobe but you can call it
whatever you
like. You do, however, need to import "flash.utils.*" because
this
package contains the "getDefinitionByName" method. Here I'm
also
extending the MovieClip class so that I can use the extending
class
(shown next) as the main Document class in the Flash IDE.
Again, this is
entirely up to you. If you have another type of class that
will extend
this one, you can have this one extend Sprite, Math, or
whatever else
you need (or nothing if it's all the same to you).
Now, in the extending class, the Document class of the FLA,
here's the
class that extends and uses it:
package {
import com.adobe.AIR;
public class airtest extends AIR{
public function airtest() {
var field:TextField=new TextField();
field.autoSize='left';
this.addChild(field);
field.text="Fileobject="+File;
}//constructor
}//airtest class
}//package
Here I'm just showing that the class actually exists but not
doing much
with it.
If you run this in the Flash IDE, the text field will show
"File
object=null". This is because in the IDE, there really is no
File
object, it only exists when the SWF is running within the
Integrated
Runtime. However, when you run the SWF as an AIR application
(using the
adl.exe utility that comes with the SDK, for example), the
text field
will now show: "File object=[object File]". Using this
reference, you
can use all of the File methods directly (have a look here
for all of
them:
http://livedocs.adobe.com/labs/flex/3/langref/flash/filesystem/File.html).
For example, you can call:
var appResource:File=File.applicationResourceDirectory;
This particular method is static so you don't need an
instance. If you
do (such as when Flash tells you the property isn't static),
simply
create an instance like this:
var fileInstace:File=new File();
fileInstance.someMethod('abc'); //just an example...read the
reference
for actual function calls
Because the getter function in the AIR class returns a Class
reference,
it allows you to perform all of these actions directly as
though the
File class is part of the built in class structure (which in
the
runtime, it is!).
Using this technique, you can create references to literally
*ALL* of
the AIR classes and use them to build your AIR application.
The beauty
of this technique is its brevity. When you define the class
reference,
all of the methods and properties are automatically
associated with it
so you don't need reams of code to define each and every
item.
There's a bit more that can be done with this AIR class to
make it
friendlier and I'll be extending mine until all the AIR
classes are
available. If anyone's interested, feel free to drop me a
line or drop
by my site at
http://www.baynewmedia.com
where I'll be posting the
completed class. I may also make it into a component if
there's enough
interest. To all of you who knew all this already, I hope I
didn't waste
your time.
Happy coding,
PatrickWow, you're right. The content simply doesn't show up at all.
No
JavaScript or HTML parsing errors, apparently. But no IE7
content.
I'll definitely have to look into that. In the meantime, try
FireFox :)
I'm trying to develop a panel to output AIR applications from
within the
Flash IDE. GSkinner has one but I haven't been able to get it
to work
successfully. Mine has exported an AIR app already so that's
a step in
the right direction but JSFL is a tricky beast, especially
when trying
to integrate it using MMExecute strings.
But, if you can, create AIR applications by hand. I haven't
yet seen an
application that allows you to change every single option
like you can
when you update the application.xml file yourself. Also, it's
a great
fallback skill to have.
Let me know if you need some assistance with AIR exports.
Once you've
done it a couple of times, it becomes pretty straightforward.
Patrick
GWD wrote:
> P.S. I've clicked on your link a few times over the last
couple of days to
> check it out but all I get is a black page with a BNM
flash header and no way
> to navigate to any content. Using IE7 if that's any
help.
>
>
>
http://www.baynewmedia.com
Faster, easier, better...ActionScript development taken to
new heights.
Download the BNMAPI today. You'll wonder how you ever did
without it!
Available for ActionScript 2.0/3.0. -
Flash Builder and Adobe AIR update framework
Hi,
I posted this in AIR forum , but thought it happens with new flash builder and flex 4 beta , i should do here also
When I run the Air update framework with the new flash builder , i get this exception when I call appUpdater.initialize() in the same given in http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&product Id=4&postId=9543
The error is
TypeError: Error #1007: Instantiation attempted on a non-constructor.
at mx.controls::ProgressBar/createChildren()
at mx.core::UIComponent/initialize()[E:\dev\beta1\frameworks\projects\framework\sr c\mx\core\UIComponent.as:6510]
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3879]
at mx.core::Container/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\ mx\core\Container.as:2541]
at mx.core::Container/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx \core\Container.as:2459]
at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_ApplicationUpdaterVBox10_c ()
at mx.core::DeferredInstanceFromFunction/getInstance()[E:\dev\beta1\frameworks\pro jects\framework\src\mx\core\DeferredInstanceFromFunction.as:105]
at mx.states::AddChild/createInstance()
at mx.states::AddChild/set targetFactory()
at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_AddChild8_i()
at ApplicationUpdaterDialogs/_ApplicationUpdaterDialogs_State7_c()
at ApplicationUpdaterDialogs()
at _ApplicationUpdaterDialogs_mx_managers_SystemManager/create()
at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\beta1\frameworks\p rojects\framework\src\mx\managers\SystemManager.as:3581]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\SystemManager.as:3 400]
at mx.managers::SystemManager/docFrameListener()[E:\dev\beta1\frameworks\projects\ framework\src\mx\managers\SystemManager.as:3258]
The code is the exact same given in the updater example i mentioned in the link above. Only difference is i am using spark framework. The appUpater.initialize() never seem to work and keeps throwing an exception. Any alternatives so suggestions ?
This works fine in my Flex Builder 3.
Thanks
Hironmay Basuthe issue is already reported here:
http://bugs.adobe.com/jira/browse/SDK-22886?page=com.atlassian.jira.plugin.system.issuetab panels:all-tabpanel
As a workaround, you can try using:
http://www.websector.de/blog/2009/09/09/custom-applicationupdaterui-for-using-air-updater- framework-in-flex-4/ -
I installed the AIR update for flash cs3, when I boot flash
on the welcome screen there is now a "create new Air document"
option in it to create new air documents.
However if I already have a file open in flash I cannot see
the welcome screen and when I go to FILE>NEW there is still no
option for a new AIR document. this is becoming very frustarting
because if I have several files open I have to close everyone to
get the welcome screen back so I can create a new Air File.
Is there a way to atleast get the welcome screen to show up
when other files or open or any other way to create a new air file
without having to close every other open file???
Thanks!You can, instead, create a new standard Flash document then
go to the "publish settings" and select the AIR profile. This
should convert the Flash doc to an AIR doc. You still may have to
edit the the "AIR - Application and Installer Settings", though.
-KGA -
Adobe AIR update for Flash CS3
Hi, i'm having some trouble installing the adobe air update
for flash CS3.
I've installed it like 5 times, it always says that the
installation is complete.
But when i go to flash and try to make an AIR file it's not
in the list, the only things i see are those:
imageow, totally my bad, i switched the splash screen and that
screen.
Problem solved -
Adobe AIR updater applicationupdater_ui.swc with Flash CS3 not working
Hello AIR geeks,
I have a project which is running in Flash CS3 with AIR.
I would like to incorporate the functionalities which are available in applicationupdater_ui.swc
Can any one please help me to make it available for flash cs3
got a very nice code sinppet also
http://www.fmajakovskij.info/air-updater-made-easy-with-scheduling/
but Its not working with Flash CS3
Thanks a lot
Regards,
SrinivasUse the Flex/Flash Component Kit to wrap your symbols for use in Flex
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
Although it is demand, or can not support ogg? In it to support Flash IDE, you can not play in AIR SDK.
Looking at this page as an example:
mp3licensing.com - Royalty Rates
the information seems to be six years old. I haven't heard about anyone being sued for not registering their app. I'll ask Adobe for an opinion on this. -
Can I Install Air update for flash CS3 on a cracked Flash CS3 Copy
hi
I'm from jordan I tried to buy Flash CS3 from Adobe and they
said they only sell to US and Canada,
so I had a cracked version (got it from the internet).
could I install the Air update for flash CS3 on it
thanks1) I do not say that I'm from jordan to make you care or not,
I just want to say why I use cracked copy because I can not buy a
good copy from my country.
2) I do not steal or crack software I'm a multimedia
developer and I had to use flash cs3, and if you want to judge me,
go and judge cracker who put cracked copies on the internet first
(and by the way in my country that you do not care about it there
is no cracker we use cracked copies your country do).
3) This question was for adobe team and not for you. -
I updated the Adobe Flash plugin this morning. I have tried turning the computer off and powering back up with no difference. My volume controls are not muted and volume is not affected in non-Internet applications.
Your above posted list of installed plugins doesn't show the Flash plugin for Firefox.<br />
See [[Managing the Flash plugin]] and [[Installing the Flash plugin]]
You can check the Adobe welcome and test page: http://www.adobe.com/software/flash/about/
You can use this manual download link:
*http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller -
When I need Adobe AIR update?
I am using market samurai and a wireless router for my online work purpose.But when I run any of the application it ask me to update adobe AIR. My question, is it necessary to update every time? and is there any option to turn off the auto AIR update? As I am not a programmer and have not much idea about software so I need experienced people help in this regard.
ThanksIf you're sure you've installed the latest version of Flash, take each of the following steps that you haven't already tried. After each step, relaunch Safari and test. For a "missing plug-in" error, start with Step 4.
1. If you're getting a "blocked plug-in" error, then from the menu bar select
▹ System Preferences… ▹ Flash Player ▹ Advanced
and click Check Now. Quit and relaunch your browser.
2. Triple-click the line below to select it:
/Library/Internet Plug-Ins
Right-click or control-click the highlighted text and select
Services ▹ Open
from the contextual menu. A folder should open. Delete the following item, or anything with a similar name, if present:
Flash Player (failing).plugin
You may be prompted for your login password.
3. Re-download and reinstall Flash. Download it from this page:
Adobe - Install Adobe Flash Player
Never download a Flash update from anywhere else.
4. If you get a "missing plug-in" error, select
Safari ▹ Preferences... ▹ Security
from the Safari menu bar and check the box marked Enable plug-ins.
5. Select
Safari ▹ Preferences... ▹ Extensions
from the Safari menu bar. If any extensions are installed, disable them.
6. In the Safari preference window, select
Privacy ▹ Remove All Website Data
Close the window. Then select
▹ System Preferences… ▹ Flash Player ▹ Advanced
and click Delete All. Close the preference pane. -
Air update, now video scrubbing has stopped working?
Well ok, not exactly sure what's happened here, myself but... the main issue is this: I believe that since I did the most recent air update, video seeks no longer work while the video is paused. Basically meaning, I can't scrub through a video any more. No compiler errors, works fine in the flash environment, just stopped working (immediately after an adobe update) when running the actual air app.
Details if you want 'em: I write somewhat large video apps where I work, and to help some of the others there, I've written some air apps that let them scrub through the videos, etc. I'm quite certain it happened right after an air update, 'cause I was using one of the apps myself just fine, when an adobe update window appeared. Pretty sure it was air. Anyway, I let it do it. Then when I went back to work, I could no longer scrub. Tried re-installing air, but no go. Then tried recompiling, but still nothing. Oddly, like I said, I don't get compiler errors, and it works in the flash environment when I test movie. Just won't work on the external air app. Basically, I'm doing this:
click on scrubber
pause movie
start scrubber drag
while dragging scrubber
seek to location based on scrubber position
release scrubber
stop scrubber drag
resume movie
When i release the scrubber, the movie will resume from the proper new location based on the final scrubber position, but the movie just sits frozen during the scrubbing process, so you can't see where you are in the movie while scrubbing. I can display other stuff, like the scrubber position. but the video just won't seek. worked until the second I got that update.
Anyway, been searching but havn't seen anyone else complaining about this. Maybe air's not as popular as I wish it was. It's even possible that my feeble old brain missed something and this is a windows 7 thing, but I'm quite certain I was using it and it was fine the instant it broke, 'cause that update window appeared and made me shut my app down to do the update. Tried rolling back to a previous version of air, but that doesn't seem possible. Thanks to anyone who has any ideas about this.I had the same problem(I couldn´t see myself neither the other person, but the other person could see me).
I have solved it doing this:
Log into your Gmail account > Settings > Labs. Enable Video Chat Enhancement lab. Save change. Restart Gmail. Test video.
And now I can see myself and the other person.
Maybe you are looking for
-
Trying to position a form in the header using CSS - not working right in IE
I am making my first foray into CSS-only design (no tables), and it's going pretty well – except for one thing (so far). If you look at this link in Firefox http://www.daveblaker.com/clients/jenslist/indexTEMP.htm the "Search Archives" field appears
-
Is it best to run my zen touch off of an alternate power sour
Hey I was wondering if using an alternate power source such as a car adapter would increase my zen touch's battery life. It kind of seems like it would but i don't know for sure. Thanks!
-
I can't seem to detect a mouse event (MouseOut) on an Accordion menu. I can do it on the TabBar but am not able to do it on the children. I know I am missing something fundamental here. The purpose is to make Accordion (id=locations) property Visible
-
3K limit Bug in Report builder?
All, Created a report based on the following query select ''| |first_name| |' '| |last_name| |'' as login_name, first_name, last_name from portal30.wwsec_person$ where created_on >= '01-APR-2001' and created_on <= sysdate When I go to edit it, the sq
-
6500 HIGH CPU, Standby HSRP state changes continuously
Hi All, We are using two 6500 User distribution connected with port channel also WLC is connected on Dist-2 now, these two 6500 are connected with backend core 7609 running ospf in between. Spanning-tree root and Standby Active on Dist-1 Suddenly w