Create A Installer Package In Flex Air?
Dec 27, 2009I need to create a installer package which application i developed using flex air. Now how can i create a installer package of this application?
View 1 RepliesI need to create a installer package which application i developed using flex air. Now how can i create a installer package of this application?
View 1 RepliesI have made an AIR 2.0 app that uses NativeProcess so it needs to be packaged as a native installer (.exe) rather than a .air file.
I first tried using Package Assistant but I kept getting an error telling me it cannot load keystore file. so I tried using the command line
[Code]...
How can i create native installer for windows, MAC and linux, which will check the system if air runtime is not install in the user system then installer will 1st install the AIR runtime and then the AIR application.
Do we need to use any third party software to achicve this?
For checking system wether the AIR runtime is install or not Do we need to write custom script or installer will automatically get things done.
I'm wondering if there is a way to make an installer (.exe or .air) autoinstaller So when a user double click it, a silent installation is performed, without asking the destination folder, using instead the default one...
View 1 RepliesI want to create a native installer for windows, mac and linux machines, Instead of .air file I want to create .exe , .dmg and .deb files respectively. So that i can enable the application to be installed natively.
View 1 RepliesHow to execute a file from within flash? what im trying to make is a cd that will auto run the movie and make the user select programs that he wants to install.
View 11 RepliesI wanted to create an application installer (per chapter) like the one implemented on the product on this site:[url]...i have no problem creating flash apps but i'm so lost on making installers , like update installers for the same app.. the idea is that on first installation of my app, other contents are not available until the user downloads it from my site and install it on their pc. and that installer will just update the existing one with the new downloaded content.
View 1 RepliesI am working with old "cs3 flash" project, and to save image in file system, i need to create .exe installer that install one image.
View 1 RepliesThis is with Flexbuilder 3.2, Eclipse 3.3.2.I am moving my development environment to a new machine. Actionscript classes that compiled in the old environment now get a compile error:
A file found in a source-path must have an externally visible definition. If a definition in the file is meant to be externally visible, please put the definition in a package.I do declare the package in these classes - I think failure to declare the package is the usual reason for this error.To add to the mystery, many classes in this project compile without errors.
I'm compile a .air file of my AIR application in FB4 and i'm getting that error when I try to install. I tried creating a new app, and just copying the code over and I get the same error. What am I doing wrong?I've even recreated the certificate multiple times.
View 3 RepliesI am trying to package air runtime and air application in a native installer. i googled a lot on how to achive the same. i found this link [URL]..which says u need ' AIR bundled runtime installer' to package air runtime with air application.
But havn't found any air bundled runtime installer. from where i can download 'AIR bundled runtime installer' alternative way to package the air runtime with air application except badge from web page.
I am trying to create AIR native installer bundled with AIR runtime for windows, Mac and Linux operating system??
i am using Flash-builder 4 and developed an application to capture screen image and save on desktop.But when i click the export button , the flex builder shows me the option to export to file only as shown belowI have downloaded latest air sdk and overwrite file in sdk4.0.0 , now air app works but how will it show me the "export to native installer option"??
View 1 RepliesWe use a custom Air Install badge to install / launch an Air application directly from the website simillar to
TweetDeck
This normally handles the install of air if the user doesn't have it already installed.
However, after doing some cross broswer testing, it appears that when a user, (using OSX Lion and Safari or Firefox) tries to click yes when prompted to download the required Air they are unable to click either of the yes or no buttons.
I initially thought that it may have had something to do with the positioning so ensured that the z-index in the css was appropriately set but to no avail.
I beleive it may have something to do with the installer itself rather than my implementation as the same thing appears to happen on TweetDeck too.
Am a 2.0 Scripter, and am really figthing to jump to as3.0 , not easy AT ALL.
As2.0 : i used to use
_global.my_function = function(){}
wich was really really simple so u can use that function from evrywhere . how to do so in MISTER AS3.0 ?
If I create a new file in explorer named test.as and I create my packaged class, I haven't found a single way to have my flash file find and use it. I've tried using relative and exact paths in the actionscript 3.0 settings. It refuses to see it
However. If I create an as3 class named "test" THROUGH the program, it actually "LOADS" the test.as that I created in explorer. And has no problem finding and using the package.I need to know why Flash requires that the .as file is made through it's program.I feel like I'm entirely missing something. Does this mean that if I want to use a class that I find in some tutorial. I need to create new AS3 files and paste them in for each one?
I'm trying to create a package with some Events. CODE RECYCLING Ok...the problem is:
The package:
package com.tester.utils
{
import flash.display.Sprite;
import flash.display.*;
[Code].....
public function addNewMc():void{
var newMC:MovieClip= new MovieClip();
this.addChild(newMC);
}
public function removeOldMc(newMC):void{
this.removeChild(newMC);
}
How can I create a new MovieClip within a method, which can be used throughout the class, without defining it at the top of the class? And for extra points, without using return. I can get it to work, if the first function addNewMc returns the value newMC, and passing that to any other methods.
I've read through the Sticky in ActionScript 3.0 forum and looked through other threads in the topic but maybe I'm not using the right search terms. My problem is creating a new object in the constructor method, I've created a package "com.weenz.shutters" and created many class files within that package. The compiler is giving me the following 2 errors for the "Window.as" file[code]...
View 3 RepliesI'm having a little issue understanding scoping in this package environment. My question is this: Is it possible to declare globally visible variables and constants? I tried this with no successful results:
PHP Code:
package {
import flash.display.Loader;
import flash.display.Sprite;
import flash.net.URLRequest;
import games.mineAllMine.MineAllMine;
[Code] .....
I am having troubles passing an x and y argument into a package function that creates a projectile on stage at the tank.gun's x and y.I have attached a zip of the code I am working on.[code]
View 6 RepliesI'm running into this weird thing with ASDoc. It will only document one package function per package.For example.I have these two functions:
gs.util.printf
gs.util.ftrace
In these files:
gs/util/printf.as
gs/util/ftrace.as
The only function that get's documented in ASDocs is "printf". But I know it can do more than one. As an example, in the livedocs [URL] There are more than one functions documented.
I want to send a html webpage with my application in installation package,is it possible?
View 1 RepliesI am creating an app with Flex 4 using Flash Builder. When I try to use mx:XML component, I get the error Could not resolve <mx:XML> to a component implementation. Can any one tell me which package to import to resolve this error.
View 2 RepliesIf i run the program i get some errors.If we include a class in a package how should the program be run?[code]...
View 2 RepliesI have an actionscript file,it has a package name,it locate C:demo directory,like follows:
package demo{
import flash.display.*;
public class ABC extends Sprite{[code]............
Then I compile above code like following command,but it raise following error:
C:>mxmlc demoABC.as
Loading configuration file C:sdkframeworksflex-config.xml
C:demoABC.as: Error: A file found in a source-path must have the same package structure '', as the definition's package, 'demo'.Where is wrong above command?
Despite if it is good practice or not, I read here that you can have package variables (or constants), so I tried this:
[Code]...
My code is:
[Code]....
Taking the package name out lets it compile, but when it is in it tells me it the package structure isn't right, but I'm not sure what I'm doing wrong. Is it an error I made? Or possibly my version of mxmlc is corrupt? I compile it with
How do I say an MXML component is inside some package? Well, it's in a different folder... I know how to do it ActionScript... But when I do in MXML I don't declare the package explicitly because I don't know how, and when I call it to my application, it states that The prefix "package" for element "package:Component" is not bound.
View 2 RepliesI need to use DataProvider class and i cannot find the package that contains it. In all examples I saw they use fl.data, but I'm using flex builder sdk 3.4 beta and it doesn't have such a package.
View 1 Replieswhatever you wan't to call it. Nevertheless, curious to know if Air can write inside it's own installed package. I'm referring to the OSX '.app' files found in great numbers in the applications folder. Since every one of these can be opened as a regular folder, i'm guessing that's what they are.
What other fancy filewriting tricks am i missing out on?