How do I build an air application from swf?
I have a simple SWF that I have built in FlashPro 5.5
published for AIR 2.6 player
It has multi-touch functionality designed for a kiosk installation on MacMini with a magic trackpad
when I publish/test (F12) it from SDK, the trackpad functions perfectly
BUT
when I launch SWF in a stand alone player (or build a executable projector), the mutitouch functionality disappears
WHAT AM I DOING SO VERY WRONG?
Steph44 wrote:
I have inadvertantly deleted the icon to open Adobe Dreamweaver
Where? From the Dock or the Applicaitons folder?
The Dock icons are "aliases" or "shortcuts" to the original files or programs, in this case in your Applications folder.
Just drag the Adobe Dreamweaver icon out of the Applications folder and position it on the Dock in the old location, it will make another "alias" and the original returns to the Application folder.
If it's gone from your Applicaiotns folder, look in your Trash can and put it back in the Applicaitons folder
If not there then open the DMG by double clicking on it and double clicking on the installer file to reinstall it.
You'll have to update the program and likely enter your serial again.
Similar Messages
-
Communication problem between air application from swf at browser
Hi,
I am trying to communicate adobe air native application from brwser using swf, I check for native application installed or not. If installed then launch and if not then install and launch.
I am facing problem when browser crashes and communication get lost with adobe air native application. And when user restart web browser and try to make local connection for communication with native application, some times it get failed. so, how to handle this state please help.
Thanks
Nitesh KumarHi sinious,
How could I clean up connection when browser is aborted or lost?
below you can find the code snippet to check for air application and connection
airSWFLoader = new Loader();
loaderContext = new LoaderContext();
loaderContext.applicationDomain = ApplicationDomain.currentDomain;
airSWFLoader.contentLoaderInfo.addEventListener(Event.INIT, onInit);
airSWFLoader.load(new URLRequest("http://airdownload.adobe.com/air/browserapi/air.swf"),loaderContext);
function onInit(e:Event):void
airSWF = e.target.content;
switch(airSWF.getStatus().toString())
case "available" : AirLoaderStatus = 1;
break;
case "unavailable" : AirLoaderStatus = 2;
break;
case "installed" : AirLoaderStatus = 3;
break;
private function getAppStatus():void
clearInterval(intervalIdentifier);
if(AirLoaderStatus == 0){intervalIdentifier = setInterval(getAppStatus,1000);return;}
m_launchInstallBtn.visible = true;
var statusInfo:String = airSWF.getStatus();
airSWF.getApplicationVersion(m_installerFileName, m_pubID, versionDetectCallback);
function versionDetectCallback(version:String):void
if (version == null)
trace("Not Installed");
// Take appropriate actions. For instance, present the user with
// an option to install the application.
else
m_isPluginsInstalled = true;
// Take appropriate actions. For instance, enable the
// user interface to launch the application.
private function onlickMouse(event:MouseEvent):void
m_text.text += "\nm_isPluginsInstalled:"+m_isPluginsInstalled+":::AirLoaderStatus:"+AirLoaderStatus;
trace("\nm_isPluginsInstalled:"+m_isPluginsInstalled+":::AirLoaderStatus:" +AirLoaderStatus);
switch(event.currentTarget)
case m_launchInstallBtn:
if(AirLoaderStatus == 1)
installAirsetup();
else
if(!m_isPluginsInstalled)
airSWF.installApplication(m_url, m_runtimeVersion, m_argsToPass);
airSWF.launchApplication(m_installerFileName, m_pubID, m_argsToPass);
else
airSWF.launchApplication(m_installerFileName, m_pubID, m_argsToPass);
break;
in the above code snippet I pass localConnection for send and recieve as an argument in m_argsToPass.
the connection names strarts with "_".
In the air application I I split the event arguments like given below
argsArray = event.arguments.toString().split(",");
and then try to establish connection.
Please suggest, how could I clean the connection on lost/ abort of browser, since then swf object embeded in browser also get lost. -
Terminate air application from browser . Help !
I have managed to call AIR application from flex application using
airSWF.launchApplication(appID, pubID, arguments);
How can i stop the AIR application from the flex application running in browser. Any help would be helpful.Did you try ...
location.href = url -
How to Call a AIR application from Flex Application
Hi,
I have Used AIR (Desktop application) in Flex Builder to Upload a File from a local path and save it it a server path.
I need to Call this AIR(Desktop application) from my Flex Application.... i.e
I am using a link button to send a event using Script and Forward that Desktop application from Flex Screen
But it doesnot load that (Desktop application) in Screen. Only Balnk screen is loaded from path
Here is the code
AIR(Desktop application)
<?xml version="1.0" encoding="utf-8"?><mx:WindowedApplication
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="openBrowseWindow();">
<mx:HTTPService id="urlpath" showBusyCursor="true" useProxy="false" method="
POST" url="http://localhost:8080/nat/FlexAction.do?method=UrlPath"result="pathresult(event)"
fault="faultHandler(event)"
>
</mx:HTTPService>
<mx:Script>
<![CDATA[
import mx.events.FileEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import mx.utils.ObjectUtil;
import mx.controls.Alert;
private
var openFile:File = new File()
private
function openBrowseWindow():void{openFile.addEventListener(Event.SELECT, onOpenFileComplete);
openFile.addEventListener(Event.OPEN, load);
openFile.browse();
private
function load():void{Alert.show(
"load");
var imageTypes:FileFilter = new FileFilter("Images (*.jpg, *.jpeg, *.gif, *.png)", "*.jpg; *.jpeg; *.gif; *.png");
//var textTypes:FileFilter = new FileFilter("Text Files (*.txt, *.rtf)", "*.txt; *.rtf");
var allTypes:Array = new Array(imageTypes);openFile.browse(allTypes);
private
function faultHandler(event:FaultEvent):void {
//Alert.show("Fault")Alert.show(ObjectUtil.toString(event.fault));
private
function pathresult(event:ResultEvent):void{Alert.show(
"res")
//Alert.show(ObjectUtil.toString(event.result));}private
function onOpenFileComplete(event:Event):void{
//mx.controls.Alert.show("event: "+event.target.nativePath +"UR!!!");
var pPath = event.target.nativePath;
var parameters:Object = {FlexActionType:"PATH",path:pPath};
// Alert.show("Image Selected from Path : "+pPath); urlpath.send(parameters);
//Alert.show("Passed.."+parameters);}
]]>
</mx:Script>
<mx:Button click="openBrowseWindow();onOpenFileComplete(event)" name="Upload" label="Upload" x="120.5" y="10"/>
Here is Mxml Code for Flex Application
<?xml version="1.0" encoding="utf-8"?><mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns="http://ns.adobe.com/air/application/1.0.M4" >
<mx:Script>
<![CDATA[
import mx.controls.Alert;
private function Upload():void{
// CursorManager.setBusyCursor();
//var url:String = "HomeAction.do?method=onLoad";
//var url:String = "assets/Air.swf";
var url1:URLRequest = new URLRequest("assets/Air.swf");navigateToURL(url1,
"_self");
// CursorManager.removeBusyCursor(); }
]]>
</mx:Script>
<mx:LinkButton id="up" click="Upload()" x="295" y="215" label="UpLoad"/>
In this code i forward using s url to Open tat Desktop application but a blank screen appears with out the proper output...
Please Help me in this to forward AIR from Flex Screen..
Thanks in Advance
With Regards
Gopinath.A
Software Developer
First Internet Systems Pvt. Ltd.,
Chennaitry this
http://www.leonardofranca.com/index.php/2009/09/17/launching-an-installed-air-application- from-the-browser/
regards
Leonardo França
Adobe Certified Expert Flex 3 with AIR
Adobe Certified Expert Rich Internet Application Specialist v1.0
Adobe Certified Expert Flash CS3 Professional
Certified Professional Adobe Flex 2 Developer
Adobe Certified Professional Flash MX 2004 Developer
http://www.leonardofranca.com
http://twitter/leofederal
Manager AUGDF - Adobe User Group do Distrito Federal
http://www.augdf.com.br
http://twitter/augdf -
How do i update Installed AIR Applications? // General Questions
Hi,
first of all, i'm completly new to AIR. However, i made my way through your product documentation and i'm now able to deploy AIR and a AIR Application (SFDC Chatter) and register it.
Works fine so far, but some questions:
- How can i update installed AIR applications? If i just try to re-install it, the installer will fail with exit code "9"
-> How can i update them directly? If this is not possible
-> How can i uninstall AIR applications in a large enterprise environment?
- Where is the ARH Tool that is described in your product documentation?
- When installing AIR as SYSTEM User (I'm using SCCM) where is the logfile?
- Do you recommend updating AIR on a regular base? Are "older" applications compatible with newer AIR Versions?
Thanks for your replies!
BenHi Ben,
I'd recommend taking a good look at our captive runtime option that is available in AIR 3.0 and higher. While you have to roll your own installer (and updater) this could be as simple as a zip/batch file combination. It also allows you to use the runtime that you prefer and not be dependent on what the user installs or uninstalls. You do have to be mindful of security implications, but it's definitely the way I'd go.
http://www.adobe.com/devnet/air/articles/air3-install-and-deployment-options.html
http://help.adobe.com/en_US/air/build/WSfffb011ac560372f709e16db131e43659b9-8000.html
As for updating, it should be as simple as increasing your app descriptors version number and installing again. This article explains how you can also use our update framework: http://www.adobe.com/devnet/air/articles/air_update_framework.html
The ARH tool can be found here:
Mac: http://airdownload.adobe.com/air/distribution/latest/mac/arh
Win: http://airdownload.adobe.com/air/distribution/latest/win/arh.exe
Linux: http://airdownload.adobe.com/air/distribution/latest/lin/arh
Thanks,
Chris -
How to Autorun an Adobe AIR App from CD
Does anyone know how to auto-run and Adobe AIR application, or auto-install the Adobe AIR runtime (if it's not installed yet on the user's machine) and then the Adobe AIR application from a CD or DVD?
How is it done?
Thanks in advance for any inputs on this.You can apply for permission to redistribute the AIR runtime:
http://www.adobe.com/products/air/runtime_distribution1.html
Mike Chambers wrote a good article about this:
http://www.mikechambers.com/blog/2008/04/07/redistributing-the-adobe-air-runtime-installer / -
URGENT: building Unicode ASO application from Unicode BSO application?
Hello Experts,
Is there other options available for building Unicode ASO application from Unicode BSO application?
As per readme documentation of version 11.1.1.3.00,
http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_1111300_readme.pdf
Block storage non-Unicode outlines can be converted to aggregate storage non-Unicode outlines; however, block storage Unicode outlines cannot be converted to aggregate storage Unicode outlines. [8208584]
Can anyone suggest how to extract the Unicode Block Storage Outline and build as Unicode Aggregate Storage Outline? Thanks in advance.
Regards,
SudhirHi,
You could use the [Outline Extractor|http://www.appliedolap.com/free-tools/outline-extractor] or ODI to extract the metadata from an outline and then use it to load into another database.
Or use the same methods you built the metadata in the original BSO database.
Cheers
John
http://john-goodwin.blogspot.com/ -
How do I transfer Adobe CC application from one hard drive to another?
How do I transfer Adobe CC application from one hard drive to another?
I think you have to start Creative Cloud application, uninstall those CC applications from "Apps" panel, then click "Preferences..." menu item, select "Apps", change "Install Location" to another hard drive, then install those applications from "Apps" panel again.
-
How to stop the new health application from Count the steps/ woking background?
how to stop the new health application from Count the steps/ woking background?
I really need your helpI agree with Mr. Hall that using mx.controls.Alert in Flex may be a better route.
Show the Alert like this:
// show an alert with a question and yes and no choices
Alert.show( "Would you like to go to the Adobe Forums?", "Question",
Alert.YES | Alert.NO, this, closeHandler, null, Alert.YES );
Then handle the response in the closeHandler() function:
protected function closeHandler( closeEvent:CloseEvent ):void
if( event.detail == Alert.YES )
navigateToURL( new URLRequest('http://forums.adobe.com'), '_self' );
else if( event.detail == Alert.NO )
// they chose no
The following documentation on Alerts may be helpful:
http://www.flexafterdark.com/docs/ActionScript-Alert
Let me know if that helps...
Ben Edwards -
How to transfer App Store purchase applications from my iPhone with apple I'd to my iPad
How to transfer App Store purchase applications from my iPhone with apple I'd to my iPad without entering apple is to iPad. My iPad is at remote location
Your post is unclear.
ramtirath wrote:
... without entering apple is to iPad. ...
What does this mean..?
What are trying to achieve..?
Download Past Purchases > http://support.apple.com/kb/HT2519 -
Can't install air application from website
I am trying to install an Adobe Air application from a local
web page using badge but get the "Something went wrong trying to
install this application"
When I click on the .air file directly all works ok
One thing I've noticed is that if I try to launch the .air
file from the browser, it doesn't to know what program to use to
open the file as buttons on the (Do you want to save this file or
find a program online to open it) dialog are Find, Save and Cancel
(Not Open).
I've checked the file extensions in Internet Tools and the
program for .air is Adobe Air Application Installer which I assume
is correct.
I've also checked that the MIME entry is correct on IIS
I'm running on a 32bit machine with Vista Business and using
IE7
Can anyone help me please, I've been stuck on this for
agesHowdy Niel
Looks like Apple has opened it's kimono a bit...
Statement from Apple to CNBC ± 10:00 PDT-US
from http://www.cnbc.com/id/102495735
"We apologize to our customers experiencing problems with iTunes and other services this morning. The cause was an internal DNS error at Apple. We're working to make all of the services available to customers as soon as possible, and we thank everyone for their patience," Apple said in a statement to CNBC.
ÇÇÇ -
Installing and Running Air application from webpage
Hello ,
I am trying to run the air application from web page and its working fine in my system. (http://localhost:8080/examples/test1.html)
if i try to run the same air application from another system's webpage by pointing the url to my system's IP Address,(http://lpAdres of my system:8080/examples/test1.html) its showing error "The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author"
Air Application version are . Flex3.6 sdk and Air2.7 sdk & runtime
Any of you know what could be the problem.
please help em to resolve this issue asap.
its very urgent requirementHi, Jeff;
Make sure you have compiled your application as 32 bit, and not "any cpu".
See this document for some more info: [64|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e&overridelayout=true]
Regards,
Jonathan
Follow us on Twitter u2013 http://twitter.com/SAPCRNetSup -
Launch air application from browser like adobe connect pro
I will like to install and launch my adobe air application from the browser, just like adobe connect pro does. Any help on this?
Did you try ...
location.href = url -
How can I compile an AIR app from the Flex-OEM Compiler?
Hi all.
As i've read in http://livedocs.adobe.com/flex/3/html/help.html?content=CommandLineTools_1.html, you should run amxmlc or pass +configname=air param to mxmlc in order to compile an air application. Is there a way to do this with the OEM Compiler?
ThanksI ran across this article, however it's for an earlier version of AIR. A version that used publisherID, however that is not required in the new air versions.
http://blog.everythingflex.com/2009/06/08/open-an-air-application-from-a-2nd-air-applicati on/
I tried creating this app without the pub id, didn't seem to work. I've got to get a certificate and get the pub id from that. -
How to mark build as partially succeed from pre-build script
Hello,
is there a way how to mark build as partially succeed from pre-build script?
And, also insert some text in Build Summary? (Other Errors and Warnings area will be fine)
I was trying to use "Write-Error "My Test Error" -ErrorAction SilentlyContinue" but it is not working.
Thanks,
JiriHi Jiri,
I think John's reply in this thread will be helpful to you. The short answer is that your pre-build script should return a value to indicate whether the script success or not. Modify the TFS build process template via adding BuildDetail.Status = BuildStatus.Failed
activity when the script failed.
Please check this link for the details:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/aacc32f1-bc29-4a85-bff3-4be1a43542e6/build-continues-after-prebuild-script-fails?forum=tfsbuild
And if you want to insert some error or warning message on the TFS build summary page, you needs to modify the TFS build process template as well. Please check:
http://blogs.msdn.com/b/buckh/archive/2012/06/07/how-to-customize-the-build-summary-page-in-tfs-2012-without-a-plug-in.aspx
Thanks.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
TS3694 i keep getting error code 3194 i just want update to5.1.1 on my ipad help
i keep getting error code 3194 i just want update to5.1.1 on my ipad help
-
Cannot install DBD::Oracle perl module with Oracle 11.2.0.3 client
Hi I have been trying to install DBD::Oracle perl module on a Centos 5.7 server which is running Oracle client version 11.2.0.3. I have installed all dependencies prior to attempting installing the same and I am running into the following error - /us
-
I can't acces my Itunes movies from my Time Capsule
I am trying to access my Itunes movies from my time capsules after I did the backup. When I click on the movie I can see the movie icon, however when I doble click it I am getting this message: "protected video, it can only be play with itunes or qui
-
Is there a way to turn off the swooosh sound everytime you send a text message?
-
Webdynpro with MDM thru JAVA MDM API
Hi all i have the requirement with webdynpro MDM JAVA API which interacting with MDM system. i have one repositoty in the MDM console i.e DEMO_CUSTOMER i have one table in that repository called CUSTOMER_ADDRESS . i want to access the customer addres